mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:47:35 +00:00
Tests: Add test for lossless webp file using a color indexing tranform
The image is https://quakewiki.org/wiki/File:Qpalette.png in lossless webp format with a color indexing transform. I've created Qpalette.webp by running examples/cwebp -z 0 ~/src/serenity/tmp.ppm -o Qpalette.webp built at libwebp webmproject/libwebp@0825faa4c1 (without png support, so I first ran Build/lagom/image ~/Downloads/Qpalette.png -o tmp.ppm to convert it from png to a format my cwebp binary could read). This file also happens to explicitly set max_symbol, so it serves as a test for that code path as well.
This commit is contained in:
parent
24967b0d29
commit
6151a251f5
2 changed files with 20 additions and 0 deletions
BIN
Tests/LibGfx/test-inputs/Qpalette.webp
Normal file
BIN
Tests/LibGfx/test-inputs/Qpalette.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
Loading…
Add table
Add a link
Reference in a new issue