j40 icon indicating copy to clipboard operation
j40 copied to clipboard

`Error: Decoding failed (rnge) during j40_next_frame`

Open nigeltao opened this issue 1 year ago • 1 comments

I built cjxl from the official https://github.com/libjxl/libjxl repo. I then made a bricks-color.jxl file (attached, with a fake .png file extension to satisfy the GitHub upload UI).

$ build/tools/cjxl bricks-color.png bricks-color.jxl
JPEG XL encoder v0.8.0 506714ed [AVX2,SSE4,SSSE3,Unknown]
Read 160x120 image, 33928 bytes, 18.7 MP/s
Encoding [VarDCT, d1.000, effort: 7], 
Compressed to 7287 bytes (3.036 bpp).
160 x 120, 0.76 MP/s [0.76, 0.76], 1 reps, 8 threads.

Trying to decode that with j40 hits an error:

$ ./dj40 bricks-color.jxl out.png
Error: Decoding failed (rnge) during j40_next_frame

  • bricks-color.png bricks-color

  • bricks-color.really-a-jxl.but-github-only-uploads.png bricks-color really-a-jxl but-github-only-uploads

nigeltao avatar Nov 22 '22 00:11 nigeltao