mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00

This is useful to find the best matching color palette from an existing bitmap. It can be used in PixelPaint but also in encoders of old image formats that only support indexed colors e.g. GIF.
24 lines
542 B
CMake
24 lines
542 B
CMake
set(TEST_SOURCES
|
|
BenchmarkGfxPainter.cpp
|
|
BenchmarkJPEGLoader.cpp
|
|
TestColor.cpp
|
|
TestDeltaE.cpp
|
|
TestFontHandling.cpp
|
|
TestGfxBitmap.cpp
|
|
TestICCProfile.cpp
|
|
TestImageDecoder.cpp
|
|
TestImageWriter.cpp
|
|
TestMedianCut.cpp
|
|
TestPainter.cpp
|
|
TestParseISOBMFF.cpp
|
|
TestRect.cpp
|
|
TestScalingFunctions.cpp
|
|
TestWOFF.cpp
|
|
TestWOFF2.cpp
|
|
)
|
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
serenity_test("${source}" LibGfx LIBS LibGfx)
|
|
endforeach()
|
|
|
|
install(DIRECTORY test-inputs DESTINATION usr/Tests/LibGfx)
|