libjxl
libjxl copied to clipboard
Lossy/Delta Palette doesn't work
Describe the bug Trying to use lossy palette results in an identical output file as without
To Reproduce
cjxl -m 1 --modular_palette_colors=0 --modular_lossy_palette Test.png Test.jxl
cjxl -m 1 Test.png Test2.jxl
Compare output files
Expected behavior Files should be different with significantly reduced colors
Environment
- OS: Windows 10
- CPU type: x86_64
- cjxl/djxl version string: JPEG XL encoder v0.10.2 e148959 [AVX2,SSE2]
Trying older releases, v0.6.1 a205468 is the last version where it worked So, the breaking change should be in here https://github.com/libjxl/libjxl/compare/v0.7rc...v0.6.1