Tom
|
e7921cfe14
|
LibGfx: Add first_animated_frame_index method to ImageDecoder
Some image formats such as APNG may not use the first frame for
animations.
|
2023-05-05 15:20:44 +01:00 |
|
Lucas CHOLLET
|
fd04b2dc9b
|
LibGfx/PortableFormat: Propagate errors from decode()
|
2023-03-24 10:56:58 +01:00 |
|
Lucas CHOLLET
|
7cafd7d177
|
LibGfx/PortableFormat: Port to Stream
Each one of `[PBM, PGM, PPM]Loader` used yet another stream-like relic.
This patch ports all of them to `AK::Stream`.
|
2023-03-24 10:56:58 +01:00 |
|
Lucas CHOLLET
|
24087ef6eb
|
LibGfx: Return true from PortableImageDecoderPlugin::initialize()
Reading the two magic bytes are always done in `decode()` by calling
`read_magic_number()`. So no need to read it twice.
|
2023-03-24 10:56:58 +01:00 |
|
Lucas CHOLLET
|
387894cdf2
|
LibGfx: Make PortableImageDecoderPlugin constructor private
|
2023-03-24 10:56:58 +01:00 |
|
Lucas CHOLLET
|
496b7ffb2b
|
LibGfx: Move all image loaders and writers to a subdirectory
|
2023-03-21 22:39:25 +01:00 |
|