ladybird/Tests/LibGfx
Timothy Flynn b7c4cd511f LibGfx: Select largest ICO image before bpp tie-break
When choosing the best image from an ICO file, prefer the entry with the
largest pixel area first, and only use bits-per-pixel as a tie-breaker.
This had regressed in commit b10fe7c136.

This fixes ICO files like Discord's favicon, where 16x16, 32x32, 48x48,
and 256x256 entries all advertise the same bpp. We were previously just
choosing whichever we saw first, which happened to be the 16x16 icon.
2026-05-28 06:32:00 +02:00
..
test-inputs LibGfx: Select largest ICO image before bpp tie-break 2026-05-28 06:32:00 +02:00
BenchmarkJPEGLoader.cpp Everywhere: Remove Serenity specific code from tests 2024-07-05 07:29:51 +02:00
CMakeLists.txt Tests/LibGfx: Remove stale Skia include from CMakeLists 2026-05-05 23:49:11 +02:00
TestBitmapExport.cpp LibGfx: Move bitmap export out of ImmutableBitmap 2026-05-05 14:39:17 -05:00
TestColor.cpp Everywhere: Unify naming of RGBA-like colors 2025-11-28 18:32:48 +01:00
TestImageDecoder.cpp LibGfx: Select largest ICO image before bpp tie-break 2026-05-28 06:32:00 +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+LibWeb: Delete unused Line class and Rect methods 2025-11-04 23:16:02 +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
TestYUVData.cpp LibGfx: Preserve native YUV samples for CPU conversion 2026-05-05 14:39:17 -05:00