1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00

LibGfx: Add a FIXME to WebPImageDecoderPlugin::icc_data()

This commit is contained in:
Nico Weber 2023-02-24 16:16:50 -05:00 committed by Linus Groh
parent 65d41f8ed9
commit 58a5038420

View file

@ -301,6 +301,9 @@ ErrorOr<ImageFrameDescriptor> WebPImageDecoderPlugin::frame(size_t index)
ErrorOr<Optional<ReadonlyBytes>> WebPImageDecoderPlugin::icc_data()
{
TRY(decode_webp_chunks(*m_context));
// FIXME: "If this chunk is not present, sRGB SHOULD be assumed."
return m_context->icc_data;
}