libjxl icon indicating copy to clipboard operation
libjxl copied to clipboard

djxl does not output extra channels for png

Open jonnyawsom3 opened this issue 1 year ago • 2 comments

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

suz-multichannel-800px jxl Environment

  • OS: Windows 10
  • CPU type: x86_64
  • cjxl/djxl version string: JPEG XL decoder v0.10.2 e148959 [AVX2,SSE2]

jonnyawsom3 avatar Mar 10 '24 22:03 jonnyawsom3

Working on a fix. Note that this already works for decoding to ppm and pfm.

mo271 avatar Mar 12 '24 11:03 mo271

Just tried the same file with the same command and the extra channels only have the IDAT chunk, no header information, making them unreadable.

jonnyawsom3 avatar Apr 30 '25 18:04 jonnyawsom3

Not sure what changed, but gives valid PNGs now.

jonnyawsom3 avatar Oct 17 '25 17:10 jonnyawsom3