Previously, the logic to determine EXIF rotation information was not providing the correct rotation. This patch respects the information properly by swapping some of the `flip()` logic on certain rotations. Props tbember, SergeyBiryukov, costdev, mikeschroder, adamsilverstein. Fixes #54937. Built from https://develop.svn.wordpress.org/trunk@54265 git-svn-id: http://core.svn.wordpress.org/trunk@53824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
17 KiB
17 KiB