ladybird/Libraries/LibGfx/ImageFormats
Aliaksandr Kalenik 8c06273dbf LibGfx: Tolerate missing optional WebP ICC chunks
Some WebP files advertise ICC metadata in their VP8X feature flags even
though the ICCP chunk is absent or malformed. We accepted the bitstream
header and could decode the pixels, but the follow-up mux metadata
lookup failed during header decoding and made sniffing reject the image
entirely.

Treat mux and ICC metadata extraction as best-effort after libwebp
accepts the header. Images without readable optional ICC metadata now
decode normally and simply report no ICC profile.
2026-06-22 17:15:21 +02:00
..
AVIFLoader.cpp LibGfx: Fix AVIF alpha type to be unpremultiplied 2026-03-27 21:22:39 +01:00
AVIFLoader.h LibGfx: Add frame_duration() to ImageDecoderPlugin 2026-02-13 18:34:24 +01:00
BMPLoader.cpp LibGfx: Reject a BMP V5 ICC profile offset that points out of bounds 2026-06-15 20:19:33 +09:00
BMPLoader.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BMPWriter.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BMPWriter.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ExifOrientedBitmap.h LibGfx: Fix heap overflow applying Exif transpose to non-square images 2026-06-15 09:31:12 +02:00
ExifReader.cpp LibGfx: Extract Exif parsing from the TIFF decoder 2026-06-12 22:37:49 +02:00
ExifReader.h LibGfx: Extract Exif parsing from the TIFF decoder 2026-06-12 22:37:49 +02:00
GIFLoader.cpp LibImageDecoders: Decode GIFs using wuffs 2026-06-10 20:29:11 +02:00
GIFLoader.h LibImageDecoders: Decode GIFs using wuffs 2026-06-10 20:29:11 +02:00
ICOLoader.cpp LibGfx: Select largest ICO image before bpp tie-break 2026-05-28 06:32:00 +02:00
ICOLoader.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ImageDecoder.cpp LibGfx+LibWeb: Remove TIFF image decoding 2026-06-12 22:37:49 +02:00
ImageDecoder.h LibGfx: Add frame_duration() to ImageDecoderPlugin 2026-02-13 18:34:24 +01:00
JPEGLoader.cpp LibGfx: Correctly determine when to invert CMYK 2025-10-15 21:50:16 +02:00
JPEGLoader.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
JPEGWriter.cpp LibGfx+LibWeb: Remove unused code from Gfx::Point/Rect/Size 2026-03-31 10:37:23 +02:00
JPEGWriter.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
JPEGXLLoader.cpp LibGfx: Add frame_duration() to ImageDecoderPlugin 2026-02-13 18:34:24 +01:00
JPEGXLLoader.h LibGfx: Add frame_duration() to ImageDecoderPlugin 2026-02-13 18:34:24 +01:00
PNGLoader.cpp LibGfx: Extract Exif parsing from the TIFF decoder 2026-06-12 22:37:49 +02:00
PNGLoader.h LibGfx: Add frame_duration() to ImageDecoderPlugin 2026-02-13 18:34:24 +01:00
PNGWriter.cpp LibGfx+LibWeb: Delete unused Line class and Rect methods 2025-11-04 23:16:02 +01:00
PNGWriter.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
WebPLoader.cpp LibGfx: Tolerate missing optional WebP ICC chunks 2026-06-22 17:15:21 +02:00
WebPLoader.h LibGfx: Add frame_duration() to ImageDecoderPlugin 2026-02-13 18:34:24 +01:00
WebPShared.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
WebPSharedLossless.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
WebPSharedLossless.h Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
WebPWriter.cpp AK: Remove unused #includes from BitStream.h 2026-04-29 20:28:15 +02:00
WebPWriter.h LibGfx: Remove WebP animation writer and utility 2025-08-05 11:30:20 +02:00
WebPWriterLossless.cpp LibGfx: Do not over-promise what type gets returned 2025-11-28 18:32:48 +01:00
WebPWriterLossless.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00