Rotate images depending on the EXIF Orientation Tag
Automatic rotation of JPG images (inclusive EXIF thumbnail) can be performed by using jhead.exe and jpegtran.exe in Windows. jhead -ft -autorot *.JPG All JPG-files in that folder will be rotated and file time (time and date of exposure) will be set according to the EXIF info.