1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:45:07 +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:
Nico Weber 2023-04-06 19:59:40 -04:00 committed by Linus Groh
parent 7b745a20f1
commit 50c9b51eca

View file

@ -1459,7 +1459,7 @@ ErrorOr<ImageFrameDescriptor> WebPImageDecoderPlugin::frame(size_t index)
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()