photographer-io icon indicating copy to clipboard operation
photographer-io copied to clipboard

Image rotation from mobile devices is different to desktop

Open robotmay opened this issue 12 years ago • 3 comments

Images uploaded on an iPad, for example, are rotated an extra rotation than if they were uploaded on the desktop. I need to test this and find out how this is happening, because it's very weird.

robotmay avatar Nov 26 '13 11:11 robotmay

Imagemagick has an --auto-orient option that may help here? It takes the EXIF profile setting "Orientation" and performs the appropriate 90 degree rotation on the image to orient the image, for correct viewing.

chrise86 avatar Dec 04 '13 15:12 chrise86

Aye I did try the auto-orient option but it wasn't working for some of the test images I'd used. I think Apple devices might be doing something weird to the image, like rotating it without changing the metadata to say it was rotated, as the rotation logic works correctly on desktops.

robotmay avatar Dec 08 '13 13:12 robotmay

Hmm that is strange, I had the exact same problem but using that auto-orient sorted it all out

chrise86 avatar Dec 08 '13 13:12 chrise86