I want to change the EXIF orientation tag in my JPEG images but without actual rotating of them. I want to do this to use them as a test case for an application I made.
How I can do that in Linux? Can I do it with
exiftool? And if so, how?
You can retrieve the existing orientation information via
This will display the internal value of the orientation information held in the MIE tags. You can return the value as an English string by omitting the
Changing the orientation data with
Here, the orientation is set to 1, indicating no rotation. These numbers are defined as per the EXIF specification; you can see what effect different rotation values have in the link above.
(note: you must use the