libjxl
libjxl copied to clipboard
djxl does not output extra channels for png
Describe the bug --output_extra_channels does not work and only a single PNG is written
To Reproduce djxl suz-multichannel-800px.jxl --output_extra_channels multichannel.png
Environment
- OS: Windows 10
- CPU type: x86_64
- cjxl/djxl version string: JPEG XL decoder v0.10.2 e148959 [AVX2,SSE2]
Working on a fix. Note that this already works for decoding to ppm and pfm.
Just tried the same file with the same command and the extra channels only have the IDAT chunk, no header information, making them unreadable.
Not sure what changed, but gives valid PNGs now.