Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to losslessly rotate all JPEGs that have been shot in portrait mode and remove the rotate flag, so iPhoto doesn't stops rotating them. Any easy way to do that?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Found it:

jhead -autorot <filename> does it. To rotate all the files in a directory, just do jhead -autorot *.

You must have both jhead and jpegtran installed. jhead can be found here (OSX binary available). jpegtran can be found here (download the source and compile it using ./configure && sudo make all install).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.