My web log

Friday, November 18, 2011

Automatically fix rotation of images

My camera stores the orientation of the images in the header, but this is not recognized by most programs.
To automatically fix the image rotations I use:

jhead -autorot

And to recursively rotate all images:

find . -name "*.JPG" -exec jhead -autorot -exonly {} \;
Posted by Richard at 5:13 AM
Labels: image

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2011 (20)
    • ►  December (2)
    • ▼  November (12)
      • How to make web2py faster
      • Let webfaction serve your static content
      • web2py with uwsgi
      • How to determine what Linux is installed
      • How to create an image mosaic
      • Automatically fix rotation of images
      • GoDaddy domains with webfaction hosting
      • Downloading data from GAE
      • Deploying code with rsync
      • Convert DVD to AVI
      • Code syntax highlighting
      • Writing in Korean
    • ►  August (1)
    • ►  July (1)
    • ►  May (2)
    • ►  March (1)
    • ►  February (1)
  • ►  2010 (13)
    • ►  November (2)
    • ►  August (1)
    • ►  July (3)
    • ►  June (2)
    • ►  May (4)
    • ►  March (1)
  • ►  2009 (3)
    • ►  September (2)
    • ►  May (1)
  • ►  2008 (17)
    • ►  October (2)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (3)
    • ►  January (6)

About Me

My photo
Richard
View my complete profile
Awesome Inc. theme. Powered by Blogger.