Page 1 of 1
XnViewMP use old jxl library - JXL files created with version 0.3.2 or newer could not be opened
Posted: Wed Jun 02, 2021 2:12 pm
by masterjp
I converted some jpg files to jxl files for testing the efficiency of JPEG XL.
The following conversion tool (Ultra7z-Images-photos-to-jpeg-xl) use a newer JPEG XL library (version 0.3.2) and it is impossible to open the files with XnView MP 0.98.5. I tested ImageMagick viewer to open the JXL files and it has no problems with the JXL files.
Internet site to conversion tool:
https://free-portable.com/ultra7z-image ... -portable/
Is it possible to update the JXL library of XnViewMP to the lastest 0.3.7 version?
Re: XnViewMP use old jxl library - JXL files created with version 0.3.2 or newer could not be opened
Posted: Thu Jun 03, 2021 11:47 am
by xnview
I have no problem with jxl files created by lastest version, could you send me one?
Re: XnViewMP use old jxl library - JXL files created with version 0.3.2 or newer could not be opened
Posted: Thu Jun 03, 2021 6:27 pm
by masterjp
Here you have the original image file (jpg), which I converted with Ultra7z JXL converter to jxl format (version 0.3.2).
I can open the file in xnviewmp, but I see a black picture with green and other coloured bars.
I tried to open the jxl file with ImageMagick (latest version -
https://imagemagick.org/index.php), which use the latest jxl library (0.3.7) and the image file is displayed correctly.
So I though it is a problem of an older jxl import library (0.3.x) in XnViewMP.
At gitlab I could find some informations about the latest changes:
https://gitlab.com/wg1/jpeg-xl/-/releases
Re: XnViewMP use old jxl library - JXL files created with version 0.3.2 or newer could not be opened
Posted: Fri Jun 04, 2021 9:27 am
by xnview
i've sent you a PM
Re: XnViewMP use old jxl library - JXL files created with version 0.3.2 or newer could not be opened
Posted: Fri Jun 04, 2021 2:42 pm
by masterjp
The new library works great, but there are still a few unpleasant side effects.
I have converted about 6,000 small JPG files (up to 2048 pixels) into JXL format. When XnViewMP read the folder in browser view, the program will need a lot of RAM! It apparently does not free the used memory after reading a single file! After reading about 3,000 or more image files, the RAM consumption of XnViewMP is 10 GB. That is a lot.
Maybe you have an idea?
Re: XnViewMP use old jxl library - JXL files created with version 0.3.2 or newer could not be opened
Posted: Wed Jul 28, 2021 6:21 pm
by masterjp
The latest JPEG XL library 0.50 was released.
All versions of the library does not contain the whole features, which will be supported.
The decoding library is at an early stage. I think here is the reason for random decoding problems in XnViewMP.
We still have to be patient, until all features are completely supported and work without problems.
Changelog of JPEG XL 0.50:
https://gitlab.com/wg1/jpeg-xl/-/blob/main/CHANGELOG.md
Re: XnViewMP use old jxl library - JXL files created with version 0.3.2 or newer could not be opened
Posted: Fri Jul 30, 2021 12:32 pm
by xnview
masterjp wrote: Wed Jul 28, 2021 6:21 pm
The latest JPEG XL library 0.50 was released.
ok i'll update it
Re: XnViewMP use old jxl library - JXL files created with version 0.3.2 or newer could not be opened
Posted: Sun Aug 01, 2021 5:42 pm
by masterjp
Fantastic! Thank you.