Can’t view jxl\avif file in archive browsing and NO jpeg-lossless mode in jxl

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

cielminami
Posts: 2
Joined: Thu Sep 22, 2022 1:23 am

Can’t view jxl\avif file in archive browsing and NO jpeg-lossless mode in jxl

Post by cielminami »

as title said,it just can't
User avatar
xnview
Author of XnView
Posts: 43098
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Can’t view jxl\avif file in archive browsing and NO jpeg-lossless mode in jxl

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43098
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Can’t view jxl\avif file in archive browsing and NO jpeg-lossless mode in jxl

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.3.1. Please check and confirm the bug fix here.
Pierre.
cielminami
Posts: 2
Joined: Thu Sep 22, 2022 1:23 am

Re: Can’t view jxl\avif file in archive browsing and NO jpeg-lossless mode in jxl

Post by cielminami »

xnview wrote: Thu Oct 13, 2022 2:29 pm This problem is supposed to be fixed in XnView MP 1.3.1. Please check and confirm the bug fix here.
the first one was solved,thanks to your excellent work
still,the second isn't change,maybe i didn't elaborate enough,when jpg convert to jpegxl(JXL),here is a special features for it called "Lossless JPEG transcoding"
https://cloudinary.com/blog/legacy_and_ ... mage_codec
and when it work,jpg to jxl losslessly can be about 20% smaller,and it is default in libjxl(https://github.com/libjxl/libjxl/releases),but this features can't work
in libjxl.it said:
"-d maxError, --distance=maxError
Max. butteraugli distance, lower = higher quality. Range: 0 .. 25.
0.0 = mathematically lossless. Default for already-lossy input (JPEG/GIF).
1.0 = visually lossless. Default for other input.
Recommended range: 0.5 .. 3.0.
-q QUALITY, --quality=QUALITY
Quality setting (is remapped to --distance). Range: -inf .. 100.
100 = mathematically lossless. Default for already-lossy input (JPEG/GIF).
Positive quality values roughly match libjpeg quality."
so i dont sure in your code when i used the lossless mode,which command parameters is used to convert,but when i try to convert a jpg file to jxl,it become very big,far way from the origin file,i guess it's a visually lossless convert?
hope to make sure it and can be adjusting these parameters
here is a good samle:https://jpegxl.io/