Gimp-Forum.net
Keep exif-orientation on import - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Keep exif-orientation on import (/Thread-Keep-exif-orientation-on-import)



Keep exif-orientation on import - Pflichtfeld - 03-24-2025

Hi guys,
Problem: upright picture (portrait) of a door. Exif in original jpg is right,top.
I send it to gimp. The door now is shown in landscape, the exif now is changed to top,left.
I'm not sure, but maybe once there was a popup how to threat orientation of origin.
But now this popup is gone and I cannot find the option to change this behaviour.
Any help?


RE: Keep exif-orientation on import - Ofnuts - 03-25-2025

(03-24-2025, 10:44 PM)Pflichtfeld Wrote: Hi guys,
Problem: upright picture (portrait) of a door. Exif in original jpg is right,top.
I send it to gimp. The door now is shown in landscape, the exif now is changed to top,left.
I'm not sure, but maybe once there was a popup how to threat orientation of origin.
But now this popup is gone and I cannot find the option to change this behaviour.
Any help?

What is the exit orientation number?

AFAIK Gimp always exports the image with 1=Top,Left, because this tells how the image should be transformed before being displayed but since Gimp encodes it as displayed there is no transformation necessary.


RE: Keep exif-orientation on import - Pflichtfeld - 03-25-2025

It is changed from 6 to 1.


RE: Keep exif-orientation on import - CmykStudent - 03-25-2025

Pflichtfeld: Hi! If you go to Edit -> Preferences and then choose the "Image Import & Export" option, there will be a dropdown that's labeled as "Metadata Rotation Policy". That should let you choose how the rotation is handled on import.


RE: Keep exif-orientation on import - Pflichtfeld - 03-25-2025

(Yesterday, 12:37 PM)CmykStudent Wrote: Pflichtfeld: Hi! If you go to Edit -> Preferences and then choose the "Image Import & Export" option, there will be a dropdown that's labeled as "Metadata Rotation Policy". That should let you choose how the rotation is handled on import.

Hi CmykStudent. That should be exactly the point I am looking for. Unfortunately there is no dropdown here (GIMP 2.10.38 (Revision 1)):


[attachment=13249]

Edit: Thanks so much. I learned, that I was working with an older version. Updated now to 3.02 and now it works like a charm!
Strange, that this option seems not to exist in earlier version.


RE: Keep exif-orientation on import - CmykStudent - 03-26-2025

Pflichtfeld: Glad you got it figured out! And yes, people add new features based on their interest, so it's likely between 2.8 and 3.0 a contributor came along, had the same problem you did, and coded a solution. Smile


RE: Keep exif-orientation on import - Pflichtfeld - 03-26-2025

(9 hours ago)CmykStudent Wrote: so it's likely between 2.8 and 3.0 a contributor came along, had the same problem you did, and coded a solution. Smile

in my GIMP 2.10.38 this solution is not present...
Disadvantage of 3.x: No arrow-script yet.


RE: Keep exif-orientation on import - programmer_ceds - 03-26-2025

(3 hours ago)Pflichtfeld Wrote: in my GIMP 2.10.38 this solution is not present...
Disadvantage of 3.x: No arrow-script yet.

An updated version of the arrow script has been available for some time (assuming this is the script that you mean):

http://programmer97.byethost10.com/Files/arrow.zip

(You need to use arrow_V3.scm from the zip file)


RE: Keep exif-orientation on import - Pflichtfeld - 03-26-2025

(59 minutes ago)programmer_ceds Wrote: An updated version of the arrow script has been available for some time (assuming this is the script that you mean):
http://programmer97.byethost10.com/Files/arrow.zip
(You need to use arrow_V3.scm from the zip file)

Indeed, it works! Thanks so much!