mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:47:45 +00:00
Tests: Add webp lossless test with color index and < 16 colors
For the test files, I opened Base/res/icons/catdog/alert.png in Adobe Photoshop 2023, used Image->Mode->Index Color...-> Palette: Local (Perceptive) to reduce the number of colors to 13, 8, and 3 with transparency, and 2 without transparency, then converted it back to Image->Mode->RGB Color (else it can't be saved as webp), then File->Save a Copy... to save a WebP (mode lossless) for every palette size.
This commit is contained in:
parent
1dab480015
commit
f2efb97578
5 changed files with 40 additions and 0 deletions
BIN
Tests/LibGfx/test-inputs/catdog-alert-13.webp
Normal file
BIN
Tests/LibGfx/test-inputs/catdog-alert-13.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 400 B |
BIN
Tests/LibGfx/test-inputs/catdog-alert-2.webp
Normal file
BIN
Tests/LibGfx/test-inputs/catdog-alert-2.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 270 B |
BIN
Tests/LibGfx/test-inputs/catdog-alert-3.webp
Normal file
BIN
Tests/LibGfx/test-inputs/catdog-alert-3.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 298 B |
BIN
Tests/LibGfx/test-inputs/catdog-alert-8.webp
Normal file
BIN
Tests/LibGfx/test-inputs/catdog-alert-8.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 350 B |
Loading…
Add table
Add a link
Reference in a new issue