1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-20 23:41:00 +00:00
serenity/Tests/LibGfx
Nico Weber 6151a251f5 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.
2023-04-08 16:50:40 +02:00
..
test-inputs Tests: Add test for lossless webp file using a color indexing tranform 2023-04-08 16:50:40 +02:00
BenchmarkGfxPainter.cpp LibGfx+Tests: Remove code unnecessary after 9e7c16d0a4 2023-02-01 08:56:56 -05:00
BenchmarkJPEGLoader.cpp Tests: Add benchmarks for JPEGLoader 2023-04-03 20:58:49 +01:00
CMakeLists.txt Tests: Add benchmarks for JPEGLoader 2023-04-03 20:58:49 +01:00
TestFontHandling.cpp LibGfx: Remove single-code point Font::glyph_or_emoji_width API 2023-02-24 20:28:23 +01:00
TestICCProfile.cpp LibGfx: Move all image loaders and writers to a subdirectory 2023-03-21 22:39:25 +01:00
TestImageDecoder.cpp Tests: Add test for lossless webp file using a color indexing tranform 2023-04-08 16:50:40 +02:00
TestScalingFunctions.cpp Tests: Add tests to verify alpha values are premultiplied when scaling 2023-03-21 00:29:33 +01:00