serenity/Userland/Services/ImageDecoder
Nico Weber 2e2cae26c6 LibGfx+Fallout: Make ImageDecoder return ErrorOr
...from try_create_for_raw_bytes().

If a plugin returns `true` from sniff but then fails when calling
its `create()` method, we now no longer swallow that error.

Allows `image` (and other places in the system) to print a more
actionable error if early image headers are invalid.

(We now no longer try to find another plugin that can also handle
the image.)

Fixes a regression from #20063 / #19893 -- before then, we didn't
do fallible work this early.
2024-03-07 11:20:06 -05:00
..
CMakeLists.txt
ConnectionFromClient.cpp LibGfx+Fallout: Make ImageDecoder return ErrorOr 2024-03-07 11:20:06 -05:00
ConnectionFromClient.h
Forward.h
ImageDecoderClient.ipc
ImageDecoderServer.ipc ImageViewer: Transform the image's dimension accordingly to the metadata 2024-02-21 08:31:17 +00:00
main.cpp