Page 1 of 1

Subject: 1.6.2: JPEG-XL decoder needs update for 0.10 encoded images

Posted: Fri Dec 01, 2023 3:18 am
by Marsu42
XnView: MP 1.6.2 - 64 bit
OS: Windows

The recent update to the development version of the JPEG-XL decoder is not backward compatible - to be specifiic, the older decoder has a bug that didn't matter up until now. Alas, all images encoded with 0.10 are not readable anyore, so the lib for XnViewMP needs an update. The respecive fix is 1.5 years old: https://github.com/libjxl/libjxl/issues/1478

Here's the respective libjxl bug ticket, the dev descibes the issue: https://github.com/libjxl/libjxl/issues/2995

Effect: Images encoded with the latest JPEG-XL encoder aren't readable in XnView-MP (or any other app apparantly that uses an older decoder lib).

To reproduce:
1. Encode image with JPEG-XL 0.10
2. Try to read encoded image with XnView containing decoder lib

Actual behaviour (bug): Image is not readable :bug:

Expected behaviour: Image is readable

Re: Subject: 1.6.2: JPEG-XL decoder needs update for 0.10 encoded images

Posted: Mon Dec 04, 2023 9:47 am
by xnview
currently 0.8.2 is used

Re: Subject: 1.6.2: JPEG-XL decoder needs update for 0.10 encoded images

Posted: Thu Dec 07, 2023 8:58 am
by masterjp
I do not know how many photos you have in Jpeg XL format.
I encoded some jpeg pictures with an early version of jpeg xl 0.30.
To get the best compatibility to newer releases of jpeg xl library,
I decoded my very old jpeg xl files to jpeg format again (without recompression) and transcoded them with the latest jpeg xl encoder (without quality loss) again.

I think you will get somewhere your old jxl 0.10 decoder/encoder to convert your files to jpeg again.