15 March 2003

Rotating JPEGs without losing Exif headers


Update on rotation:
the href="http://gphoto.sourceforge.net/doc/manual/FAQ.html#FAQ-rotate-jpeg">GPhoto2
faq suggests

$ jhead -cmd 'jpegtran -rotate 90 -outfile &o &i' my-pic.jpg


This makes the script a bit simpler.


#!/bin/sh
jhead -cmd 'jpegtran -rotate 90 -outfile &o &i' $1



No comments:

Post a Comment

About Me

blog at barillari dot org Older posts at http://barillari.org/blog