ladybird/Tests/LibGfx
aplefull b3bdb202f8 LibGfx: Allow decoding of GIFs with empty LZW data
The decoder was requiring GIF files to be at least 32 bytes, but the
actual minimum for a valid GIF is only 26 bytes:
- 6 bytes for the header
- 7 bytes for the Logical Screen Descriptor
- 10 bytes for the Image Descriptor
- 2 bytes for the LZW minimum code size and block terminator
- 1 byte for the GIF trailer

This change allows us to load minimal 1x1 GIFs with empty LZW data.
They are commonly used on the web as transparent placeholders with
minimal file size.
2025-10-02 11:04:35 +02:00
..
test-inputs LibGfx: Allow decoding of GIFs with empty LZW data 2025-10-02 11:04:35 +02:00
BenchmarkJPEGLoader.cpp Everywhere: Remove Serenity specific code from tests 2024-07-05 07:29:51 +02:00
CMakeLists.txt Tests/LibGfx: Enable file based tests on Windows 2025-07-11 10:54:37 +02:00
TestColor.cpp LibGfx: Support missing pixel formats in get_pixel() 2025-04-23 09:26:45 +02:00
TestImageDecoder.cpp LibGfx: Allow decoding of GIFs with empty LZW data 2025-10-02 11:04:35 +02:00
TestImageWriter.cpp LibGfx: Remove WebP animation writer and utility 2025-08-05 11:30:20 +02:00
TestQuad.cpp LibGfx: Verify Rect and Quad are consistent in boundary point inclusions 2024-12-15 23:27:42 +01:00
TestRect.cpp LibGfx: Add Rect::unite() 2025-01-23 09:33:10 +01:00
TestWOFF.cpp LibGfx: Rename WOFF[2]::try_load_from_externally_owned_memory() 2025-05-03 12:01:43 +01:00
TestWOFF2.cpp Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00