mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 16:57:35 +00:00
LibGfx: Add a FIXME to WebPImageDecoderPlugin::icc_data()
This commit is contained in:
parent
65d41f8ed9
commit
58a5038420
1 changed files with 3 additions and 0 deletions
|
@ -301,6 +301,9 @@ ErrorOr<ImageFrameDescriptor> WebPImageDecoderPlugin::frame(size_t index)
|
||||||
ErrorOr<Optional<ReadonlyBytes>> WebPImageDecoderPlugin::icc_data()
|
ErrorOr<Optional<ReadonlyBytes>> WebPImageDecoderPlugin::icc_data()
|
||||||
{
|
{
|
||||||
TRY(decode_webp_chunks(*m_context));
|
TRY(decode_webp_chunks(*m_context));
|
||||||
|
|
||||||
|
// FIXME: "If this chunk is not present, sRGB SHOULD be assumed."
|
||||||
|
|
||||||
return m_context->icc_data;
|
return m_context->icc_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue