mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
LibGfx: Provide an implementation for ImageDecoderPlugin::icc_data()
This commit is contained in:
parent
4f3945024a
commit
e721c74598
15 changed files with 1 additions and 44 deletions
|
@ -61,7 +61,6 @@ public:
|
|||
virtual IntSize size() override;
|
||||
|
||||
virtual ErrorOr<ImageFrameDescriptor> frame(size_t index, Optional<IntSize> ideal_size = {}) override;
|
||||
virtual ErrorOr<Optional<ReadonlyBytes>> icc_data() override;
|
||||
|
||||
private:
|
||||
PortableImageDecoderPlugin(NonnullOwnPtr<SeekableStream> stream);
|
||||
|
@ -126,10 +125,4 @@ ErrorOr<ImageFrameDescriptor> PortableImageDecoderPlugin<TContext>::frame(size_t
|
|||
return ImageFrameDescriptor { m_context->bitmap, 0 };
|
||||
}
|
||||
|
||||
template<typename TContext>
|
||||
ErrorOr<Optional<ReadonlyBytes>> PortableImageDecoderPlugin<TContext>::icc_data()
|
||||
{
|
||||
return OptionalNone {};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue