1.8.2: incorrect when displaying jxl with EXIF orientation

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

Cheeling
Posts: 6
Joined: Fri Jan 01, 2021 6:42 am

1.8.2: incorrect when displaying jxl with EXIF orientation

Post 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
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
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45495
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.8.2: incorrect when displaying jxl with EXIF orientation

Post by xnview »

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

Re: 1.8.2: incorrect when displaying jxl with EXIF orientation

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.8.4. Please check and confirm the bug fix here.
Pierre.