>From the man page:

    http://www.die.net/doc/linux/man/man1/exiftran.1.html

exiftran is a command line utility to transform jpeg images ... It can
rotate images automatically by checking the exif orientation tag, it
updates the exif information if needed (image dimension, orientation),
it also rotates the exif thumbnail. It can process multiple images at once.

For example:

exiftran -d input_file.jpg

    Dumps all the exif tags to stdout. You might like to feed it through
    grep, eg:

        exiftran -d input_file.jpg | grep -A1 thumbnail

exiftran -anig input_file.jpg -o output_file.jpg

    Sets the exif orientation tag to Top Left without rotating the
    picture, and regenerates the jpeg thumbnail.


How some photo-album apps handle the orientation tag:

    * gThumb rotates images losslessly without changing the orientation
      tag, meaning that orientation-aware programs will display the
      photo the wrong way up
    * F-Spot is orientation-aware, and changes only the orientation tag
      when you manually rotate
    * Digikam is also orientation-aware. Enable the setting "Rotate
      images/thumbs according to orientation tag"

How does the exif orientation tag work? Have a look at:

    http://sylvana.net/jpegcrop/exif_orientation.html

Douglas.





=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================

Reply via email to