Page 1 of 1

Compression setting for JPEG XL doesn't work.

Posted: Thu Nov 04, 2021 7:45 pm
by rafc42
I noticed that changing the compression level for JPEG XL format doesn't do anything - it seems stuck at a value of 7.
- changed value is not preserved between program runs
- for different compression values resulted image is always identical and conversion time is always identical, while settings this options to values lower than 7 should significantly speed up the process.

So something is apparanty not working as it should.

Thx
Mariusz

Re: Compression setting for JPEG XL doesn't work.

Posted: Wed Nov 10, 2021 12:58 pm
by xnview
rafc42 wrote: Thu Nov 04, 2021 7:45 pm - changed value is not preserved between program runs
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
- for different compression values resulted image is always identical and conversion time is always identical, while settings this options to values lower than 7 should significantly speed up the process.
Which file do you use?

Re: Compression setting for JPEG XL doesn't work.

Posted: Mon Nov 15, 2021 9:43 pm
by rafc42
xnview wrote: Wed Nov 10, 2021 12:58 pm
- for different compression values resulted image is always identical and conversion time is always identical, while settings this options to values lower than 7 should significantly speed up the process.
Which file do you use?
It doesn't depend on file.
For example, with this file https://upload.wikimedia.org/wikipedia/ ... -large.png
I got with XnConvert 1.94:
  • quality 80, compression 7 = the size of jxl file of 957671 bytes, conversion time 10s
  • quality 80, compression 2 = the size of jxl file of 957671 bytes, conversion time 10s
Byte by byte comparison shows both files are identical.

When using cjxl v0.6.1:
  • cjxl -q 80 -e 7 = the size of jxl file of 952609 bytes, conversion time 10s
  • cjxl -q 80 -e 2 = the size of jxl file of 1117931bytes, conversion time 3s
cjxl works as expected.

Re: Compression setting for JPEG XL doesn't work.

Posted: Tue Nov 16, 2021 9:22 am
by xnview
Right, will be fixed