Main Menu

-EXIF:Orientation=

Started by Archive, May 12, 2010, 08:53:55 AM

Previous topic - Next topic

Archive

[Originally posted by linuxuser on 2006-06-13 23:38:21-07]

I have a very simple question, -EXIF:Orientation="Rotate 270 CW" does the job, but what do I have to use if I would like to get the same result with a 90 degree rotation?

Archive

[Originally posted by exiftool on 2006-06-13 23:43:14-07]

A 90 degree counterclockwise rotation is mathematically equivalent to a 270 degree clockwise rotation.  I just chose to represent the rotation text using a clockwise angle for clarity.

I think is is what you were asking.  If not, take a look at the valid rotation strings in the EXIF Tags documentation.

Archive

[Originally posted by linuxuser on 2006-06-14 00:04:34-07]

That's clear, but I am sorry, I have no idea, how 90 degree are defined or in other words with CW 90 the bottom side of the image is on top.

Is it possible to define the orientation with numbers from 1-8 like mentioned in the manual?

I rotated the image with 90 degrees for viewing with a mobile phone, but I would like to view the image with konqueror with the correct orientation.

Archive

[Originally posted by exiftool on 2006-06-14 00:11:12-07]

If you want to use the numbers, use the "-n" option and set "-exif:orientation=<some number>".  Is this what you want?  This technique is explained in FAQ number 6.

The sense of the rotation is simple.  If you turned the cell phone 90 degrees to the right, then you apply a 90 degree CW rotation.  If you turned it 90 degrees to the left, then you apply a 270 degree CW rotation.  But if you're more comfortable with the numerical -n codes, go for it. Smiley

- Phil