ladybird/Tests/LibGfx
Nico Weber 83d0452e69 LibGfx/WebPLoader: Use transparent black as animation background color
This matches libwebp (see ZeroFillCanvas() call in
libwebp/src/demux/anim_decode.c:355 and ZeroFillFrameRect() call
in line 435, but in WebPAnimDecoderGetNext()) and makes files
written e.g. by asesprite look correct -- even though the old
behavior is also spec-compliant and arguably makes more sense.
Now nothing looks at the background color stored in the file.

See PR for an example image where it makes a visible difference.

Cherry-picked from serenityos master
276a904d20ffe260b5544a9ace9841d083e0243
2024-07-17 10:04:25 -06:00
..
test-inputs LibGfx: Decode AVIF images 2024-07-09 08:15:47 +02:00
BenchmarkGfxPainter.cpp Tests: Propagate errors with TRY_OR_FAIL() where possible 2024-02-14 17:46:06 -05:00
BenchmarkJPEGLoader.cpp Everywhere: Remove Serenity specific code from tests 2024-07-05 07:29:51 +02:00
CMakeLists.txt Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
TestColor.cpp LibGfx: Correctly round values when computing the luminosity of a Color 2024-05-13 23:43:58 +02:00
TestDeltaE.cpp LibGfx: Add DeltaE() function 2023-04-30 05:57:20 +02:00
TestGfxBitmap.cpp LibGfx: Remove Bitmap and Painter "scale" concept 2024-06-05 15:37:05 +02:00
TestICCProfile.cpp Everywhere: Remove Serenity specific code from tests 2024-07-05 07:29:51 +02:00
TestImageDecoder.cpp LibGfx/WebPLoader: Use transparent black as animation background color 2024-07-17 10:04:25 -06:00
TestImageWriter.cpp LibGfx: Remove QOI image format support 2024-06-17 21:57:35 +02:00
TestMedianCut.cpp LibGfx: Add an implementation of the MedianCut algorithm 2024-05-18 18:30:07 +02:00
TestPainter.cpp LibGfx: Clip out-of-bounds pixel accesses in Painter::draw_rect() 2024-04-14 18:05:48 +02:00
TestRect.cpp LibGfx: Add Rect::unite_{horizontally,vertically}() 2023-07-13 05:09:08 +02:00
TestScalingFunctions.cpp LibGfx: Move Gfx::Painter::ScalingMode => Gfx::ScalingMode 2024-06-05 15:37:05 +02:00
TestWOFF.cpp LibGfx+LibWeb: Rename Gfx::WOFF::Font to Gfx::WOFF::Typeface 2024-07-13 09:31:02 +02:00
TestWOFF2.cpp LibGfx+LibWeb: Rename Gfx::WOFF2::Font to Gfx::WOFF2::Typeface 2024-07-13 09:31:02 +02:00