1.4.4: H(E)IF picture in portrait mode are displayed distorted

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Henry_Jones
Posts: 22
Joined: Sat Mar 17, 2007 10:18 am

1.4.4: H(E)IF picture in portrait mode are displayed distorted

Post by Henry_Jones »

XnView: MP 1.4.4 - 64 bit, also present on 1.3 - 64 bit
OS: Windows 11 22H2 - 64bit

HIF files from a digital camera, Sony Alpha 7-IV are shown distorted in preview and fullscreen when they are in portrait mode. The RAW file of the pair is correctly shown, also both files are correct (HIF and RAW) when the picture was taken in landscape mode. The picture dimensions are rotated, so width becomes height and vice versa, but the lower part of the picture is cut and the extra space to the right is filled with a part of the upper part again.
Screenshot 2023-05-03 193024.png
Effect: the files are not shown correctly, I guess it will fall under "display glitch". Technically it's possible that the files are wrong from the start, I have no other HEIF capable viewer, the Windows build in viewer only shows a small preview which is correctly displayed.

To reproduce:
1. take a picture in portrait mode with said camera with the setting of "RAW + HEIF"
1.1 I can provide two pairs of pictures if need be, together they are about 100 MB in size, I dont know if I'm allowed to attach that much or if the problem survives a resize.
2. open the picture in XnView, XnView Browser or XnView Shell Extension

Actual behaviour (bug): the preview or fullscreen display of said files is wrong :bug:

Expected behaviour: both displays should be upright and contain the correct content
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.4.4: H(E)IF picture in portrait mode are displayed distorted

Post by xnview »

Pierre.
Henry_Jones
Posts: 22
Joined: Sat Mar 17, 2007 10:18 am

Re: 1.4.4: H(E)IF picture in portrait mode are displayed distorted

Post by Henry_Jones »

You're right, sorry. Can this be closed or merged to the other topic then, to reduce redundancy in the bug reports ?
Post Reply