Page 1 of 4

Preview thumbnails are not rotated

Posted: Tue Dec 07, 2021 9:04 pm
by trance
Original image (landscape orientation, rotated 90° left): image on thumbnail rotated 90° left, full size image rotated 90° right, EXIF orientation upper-right (6)
Select: JPEG transform, rotate based on EXIF, reset EXIF orientation
Resulting image: image on thumbnail in portrait orientation (rotated correctly), full size image rotated 90° right, EXIF orientation upper-left (1)
The Image, considering the rotation and orientation of the JPEG, did not change (rotated 90° right)
The orientation did not reset
Image should display in thumbnail in same orientation as preview and as full view

it would be nice if the orientation preview was displayed in the JPEG transform dialog

If I select JPEG rotation and didn't press any rotation button, but will check "reset EXIF orientation", the thumbnail will not change, but the Image will become the correct orientation (portrait) but thumbnails will remain in landscape orientation

If I select (thumbnail rotated 90° left, image rotated 90° right) rotate thumbnail 90° right to make it portrait orientation, it will make image upside-down (the thumbnail rotates 180°)

What I need: - display thumbnails in the same orientation as Image, rotate thumbnails and images simultaneously, reset EXIF orientation

Re: Preview thumbnails are not rotated

Posted: Tue Dec 07, 2021 9:10 pm
by trance
xviewbug.png
xviewbug.png (186.88 KiB) Viewed 15923 times

Re: Preview thumbnails are not rotated

Posted: Wed Dec 08, 2021 8:00 am
by xnview
could you send me the original file?

Re: Preview thumbnails are not rotated

Posted: Wed Dec 08, 2021 8:12 am
by trance
IMG_5092.ZIP
(1.45 MiB) Downloaded 142 times

Re: Preview thumbnails are not rotated

Posted: Wed Dec 08, 2021 9:35 am
by xnview
the image is portrait but with exif orientation it becomes landscape, thumbnail is not oriented in the same way

Re: Preview thumbnails are not rotated

Posted: Thu Dec 09, 2021 4:59 am
by trance
why some files show rotation icon and others don't show despite the fact that they contain Exif orientation?
how do i fix them? only those that are broken
what is the "the white rectangle located right-bottom inside the gray rectangle" icon on thumbnails?

the fact that XnView doesn't update thumbnail when rotate is a bug! :bug:

Re: Preview thumbnails are not rotated

Posted: Thu Dec 09, 2021 8:00 am
by XnTriq
trance wrote: Thu Dec 09, 2021 4:59 amwhat is the "the white rectangle located right-bottom inside the gray rectangle" icon on thumbnails?
This overlay icon indicates that XnView's browser is displaying the embedded preview/thumbnail retrieved from a JPEG file.
You can change this behavior by deactivating Use embedded thumbnail in Tools
Settings…BrowserThumbnailMisc.

Re: Preview thumbnails are not rotated

Posted: Thu Dec 09, 2021 8:45 pm
by XnTriq
How to fix IMG_5092.JPG with XnView MP:
  1. Select the thumbnail for IMG_5092.JPG in browse mode.
  2. Go to ToolsJPEG lossless transformationsReset EXIF orientation field.
  3. Go to ToolsMetadataEXIF thumbnail - Rotate 90°.

Re: Preview thumbnails are not rotated

Posted: Fri Dec 10, 2021 9:03 pm
by trance
i have many files, and some are oriented left, some are right, and those which are landscape, i don't want to touch

why the rotation icon is not displayed if Exif orientation tag is present?

is this correct that it does not update thumbnail and only rotates it? is it rotated the same lossless-way as the image or just switching flag? what if it is broken or contains something different? is they created with the same dimensions as they was before? and what was the first time, before any "before"?

Re: Preview thumbnails are not rotated

Posted: Sat Dec 11, 2021 5:45 am
by XnTriq
trance wrote: Fri Dec 10, 2021 9:03 pmwhy the rotation icon is not displayed if Exif orientation tag is present?
The icon is displayed if Rotate images according to EXIF orientation tag is activated and Use embedded thumbnail is disabled:

p174363.png
  1. [  ] Rotate images according to EXIF orientation tag
    [  ] Use embedded thumbnail
  2. [  ] Rotate images according to EXIF orientation tag
    [×] Use embedded thumbnail
  3. [×] Rotate images according to EXIF orientation tag
    [  ] Use embedded thumbnail
  4. [×] Rotate images according to EXIF orientation tag
    [×] Use embedded thumbnail

Re: Preview thumbnails are not rotated

Posted: Tue Jan 04, 2022 9:38 pm
by bege
XnTriq wrote: Sat Dec 11, 2021 5:45 am
The icon is displayed if Rotate images according to EXIF orientation tag is activated and Use embedded thumbnail is disabled:

I don't think this behavior is user friendly - at least not for me. I have files from a camera that does not add exif orientation. I turned them clockwise with XnV from landscape to portrait (pref: change orientation only if possible). ExifTool shows that orientation and the images are displayed that way (pref: turn images according to exif orientation). But in browser view they are still displayed in landscape orientation, no matter whether thumbnails are deactivated or not.

Edit: I just noticed that the files lost the exif orientation through uploading. I cannot post the images here ("too big").

https://abload.de/img/dscn0666r2jnq.jpg
Screenshot_296.png
I "converted" the image with XnV (same file format), this file is displayed in browser rotated.

https://abload.de/img/dscn0666_15fj67.jpg
Screenshot_294.png
Screenshot_293.png
Screenshot_293.png (116.43 KiB) Viewed 15562 times


It is too confusing. No matter whether thumbnails are activated or not, XnV should turn both browser view and image view according to exif orientation if that pref. is set.

Re: Preview thumbnails are not rotated

Posted: Wed Jan 05, 2022 7:56 am
by xnview
your files don't have orientation

Re: Preview thumbnails are not rotated

Posted: Wed Jan 05, 2022 11:57 am
by bege
xnview wrote: Wed Jan 05, 2022 7:56 am your files don't have orientation
Orientation "Rotate 90 CW" is orientation. Please, re-read my post. I wrote that uploading them to the host removed orientation. That's why I added the screenshots of ExifTool.

Re: Preview thumbnails are not rotated

Posted: Thu Jan 06, 2022 7:06 am
by xnview
could you send a zip file?

Re: Preview thumbnails are not rotated

Posted: Sat Jan 08, 2022 5:41 pm
by bege
xnview wrote: Thu Jan 06, 2022 7:06 am could you send a zip file?
https://filehorst.de/d/ecmFtFGr