EXIF orientation flag not respected

Images with a non-standard rotation defined in their EXIF metadata aren’t properly “re-rotated” by Tropy for initial display. It seems to be trying to do the rotation, but not “flipping,” which could be a reasonable approach for most real-world images. However, not all the rotation values are properly supported either: 180 degrees seems to work, as does 90 degrees “left,” but 90 degrees “right” gets changed, just to an incorrect result.

Chrome itself correctly handles all rotations as well as mirrored axes.

Good catch, thanks! We currently have a preliminary handling of EXIF orientations in place (it will change a bit once you can rotate or flip the images in Tropy) and we got some of the orientations wrong.