mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 13:15:06 +00:00
LibGfx: Make a webp error message more detailed
Now that lossless decoding mostly works, make it clear that only lossy decoding isn't implemented yet.
This commit is contained in:
parent
7b745a20f1
commit
50c9b51eca
1 changed files with 1 additions and 1 deletions
|
@ -1459,7 +1459,7 @@ ErrorOr<ImageFrameDescriptor> WebPImageDecoderPlugin::frame(size_t index)
|
||||||
return ImageFrameDescriptor { m_context->bitmap, 0 };
|
return ImageFrameDescriptor { m_context->bitmap, 0 };
|
||||||
}
|
}
|
||||||
|
|
||||||
return Error::from_string_literal("WebPImageDecoderPlugin: decoding not yet implemented");
|
return Error::from_string_literal("WebPImageDecoderPlugin: decoding lossy webps not yet implemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
ErrorOr<Optional<ReadonlyBytes>> WebPImageDecoderPlugin::icc_data()
|
ErrorOr<Optional<ReadonlyBytes>> WebPImageDecoderPlugin::icc_data()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue