photographer-io
photographer-io copied to clipboard
Image rotation from mobile devices is different to desktop
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.
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.
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.
Hmm that is strange, I had the exact same problem but using that auto-orient sorted it all out