auto image rotation using EXIF data