I have a Canon digital camera that recognises when the camera is in
landscape
or ****trait mode, and includes in the picture file with the right
orientation.
Most applications seem to recognise this.
However, the camera sometimes gets it wrong, and flags a picture as
****trait
when it should be landscape, or landscape when it should be ****trait. Its
latest trick is to flag pictures as rotated 180 degrees, ie, upside down.
Now it is easy enough to open the file, rotate it to the correct
orientation
and save it again. Unfortunately, this has a couple of undesirable side
effects: It has to expand and decompress a JPEG, which loses quality. It
also
loses the creation date of the pic.
I suspect that the orientation is just a field inside the JPEG file, and
that
all that is required is to change that field.
Is this correct? If so, is there a utility that will change the field?
Cheers
David


|