Page 1 of 1

1.8.2: incorrect when displaying jxl with EXIF orientation

Posted: Tue Nov 12, 2024 10:30 am
by Cheeling
XnView: MP 1.8.2 - 64 bit
OS: Windows10 22H2 64bit

When browsing jxl files with exif.orientation tags, the program will mistakenly rotate the image one more time according to the tag

Effect: jxl images are not displayed correctly

To reproduce:
1. download o6.zip
o6.zip
rename it to o6.jxl
(6.04 KiB) Downloaded 63 times
and rename it to o6.jxl, which has exif orientation tag = 6 (90°counter clockwise, and the image should be rotate 90° clockwise). The content is letter F
2. open it with XnviewMP

Actual behaviour (bug): you will see "F" rotate 90° clockwise. :bug:

Expected behaviour: normal orientation of "F" like o6.jpg
bug.png
Attachment illustration:
o6.jxl is compressed with cjxl from o6.jpg. Both of these 2 images has exif orientation tag = 6.
If you want to compress yourself, you can download cjxl here https://github.com/libjxl/libjxl/releases, and compress using cmd:

Code: Select all

cjxl -q 90 --lossless_jpeg=0 o6.jpg o6.jxl

Re: 1.8.2: incorrect when displaying jxl with EXIF orientation

Posted: Wed Nov 13, 2024 4:08 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: 1.8.2: incorrect when displaying jxl with EXIF orientation

Posted: Tue Feb 04, 2025 8:15 am
by xnview
This problem is supposed to be fixed in XnView MP 1.8.4. Please check and confirm the bug fix here.