1
Fork 0
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:
Lucas CHOLLET 2023-10-28 18:18:14 -04:00 committed by Sam Atkins
parent 4f3945024a
commit e721c74598
15 changed files with 1 additions and 44 deletions

View file

@ -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 {};
}
}