FaceTag and rotation

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
herb
Posts: 281
Joined: Sat Jul 18, 2009 3:19 pm

FaceTag and rotation

Post by herb »

Hello Pierre,

With version XnViewMp 1.3.0 I played with feature FaceTag on my Windows 10 system.

I assigned such a region as shown in attached file FaceTag.jpg.
Then I rotated the image and reopened it.
But to my surprise the rectangle for the region is not where I would expect it.

Yes, XnViewMP tried to set new coordinates for the rectangle;
BUT sorry it generated them wrong. See attached file FaceTag_rotated.jpg

Best regards
herb
Attachments
FaceTag.zip
(310.61 KiB) Downloaded 31 times
herb
Posts: 281
Joined: Sat Jul 18, 2009 3:19 pm

Re: FaceTag and rotation

Post by herb »

Hello Pierre,

in meantime I read the MWG-standard again and came to the following:
- MWG region tags depend ONLY on physical layout of the pixel.
- EXIF:Orientation is not taken into account.

So this means: In case of a rotation done with changing EXIF:Orientation NO change on MWG-region tags has to be performed.
BUT XnViewMP also changes the values in this case.

Best regards
herb
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: FaceTag and rotation

Post by xnview »

herb wrote: Sat Oct 15, 2022 7:58 am - EXIF:Orientation is not taken into account.
Strange, i have many sample files where the MWG region should take EXIF/Orientation
Pierre.
Post Reply