I know how to do it manually. Now I would like to automate that based on EXIF data.
I already have exiftool
installed, but looks like it can only read the data, but can not rotate the image.
There is a similar question on SU about Ubuntu. But I'm looking for possible solutions using OSX.
Best Answer
You can use
nconvert
, which is freeware (for private and educational use) and available for Win, Linux and Mac.This tool can rotate JPEG images lossless according to the EXIF orientation tag:
That command will batch convert all JPEG files in the current directory and prepending their names with
rotated_
. This is controlled by the-o
option, refer tonconvert -help
for more possibilities: