autorotate images based on EXIF orientation (with exif=1)