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
Notes: sideshowbarker 2024-07-17 01:27:18 +09:00

View file

@ -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()