mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +00:00
LibGfx: Add a FIXME to WebPImageDecoderPlugin::icc_data()
This commit is contained in:
parent
65d41f8ed9
commit
58a5038420
Notes:
sideshowbarker
2024-07-17 07:38:17 +09:00
Author: https://github.com/nico
Commit: 58a5038420
Pull-request: https://github.com/SerenityOS/serenity/pull/17603
Reviewed-by: https://github.com/linusg
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()
|
||||
{
|
||||
TRY(decode_webp_chunks(*m_context));
|
||||
|
||||
// FIXME: "If this chunk is not present, sRGB SHOULD be assumed."
|
||||
|
||||
return m_context->icc_data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue