Hi Phil,
I'm trying to detect the orientation of a photograph so that I can use jpegtran to perform a lossless rotation.
However I get conflicting values from different photographs. These are some of the results:
* Orientation = top - left
* Orientation = Horizontal (normal) -- this seems odd because the image has been rotated taken out in portrait mode.
* Rotate 90 CW (from another thread in this forum)
In addition, I also have this parameter:
Auto Rotate : Rotate 90 CW
If it helps in anyway, the camera is Canon Powershot A530.
How would I collect the rotation angle (clockwise or anti-clockwise) to:
(6)
]
