Auto rotate photos with an exif orientation equals 6