hellosiyan / Viewnior

Elegant Image Viewer
https://siyanpanayotov.com/project/viewnior/
GNU General Public License v3.0
320 stars 55 forks source link

Rotating image ignores Exif orientation tag #45

Open mrkskwsnck opened 5 years ago

mrkskwsnck commented 5 years ago

Environment

My Linux distribution Manjaro 17.1.12 provides Viewnior 1.6 as default image viewer. I like to managed my JPEG images taken with an arbitrary iPhone model.

Issue

While rotating an image Viewnior 1.6 ignores the orientation tag from the Exif data. Instead it rotates the image itself, leaving the orientation as is. As a result, reloading an already rotated image in Viewnior, the orientation from the Exif data is applied, displaying the image with wrong orientation.

Expectation

If the Exif orientation tag is present, Viewnior should apply the rotation to the Exif orientation tag, leaving the image as is.

If the Exif orientation tag is not present, Viewnior should either add the Exif orientation tag if other Exif data is present, or should be allowed to rotate the image itself if any Exif data is absent.

absolutelynothinghere commented 3 years ago

This is such an important feature and I'm surprised it is yet to materialize!

kylrth commented 5 months ago

And still not yet fixed in 1.8, in 2024