Welcome to WebmasterWorld Guest from 54.144.72.150

Forum Moderators: not2easy

Message Too Old, No Replies

ImageMagic rotated image does not work in iPad?

Why is this?

     
6:03 am on Oct 16, 2011 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 7, 2005
posts:160
votes: 2


Hi, I'm not expert on image formats but I've been using ImageMagick's mogrify tool to do bulk rotating of images like this:

mogrify -rotate 90 *.jpg

I've noticed that the images appear to be rotated fine when viewed with a Windows browser but to my horror the images I've been rotating don't seem to render as rotated when using an iPad or iPhone. For some reason the iPad/iPhone seems to think the images are still unrotated.

Does anyone know why?
6:08 pm on Oct 18, 2011 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12533
votes: 0


In a browser you mean? Safari? Try clearing the browser cache or refreshing the page.
8:33 pm on Oct 18, 2011 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

joined:Apr 9, 2011
posts:12704
votes: 244


My hunch is that in the specific case of the iPad, its built-in rotation software* overrides anything on the smaller scale.

:: getting dizzy trying to visualize this ::


* This is very unnerving for the first day or so. If you physically turn the iPad, the whole screen image turns too. You can switch off the option if you particularly want to look at things upside-down or sideways-- or if your hands are too unsteady-- but it's the default behavior.
6:35 am on Nov 19, 2011 (gmt 0)

Moderator from US 

WebmasterWorld Administrator robert_charlton is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 11, 2000
posts:11314
votes: 165


I don't know anything about ImageMagick, but I know that the iPad and iPhone don't run Flash, by design.

Are you using anything related to Flash or any code that would make the iPad or iPhone think you are using Flash? If so, that might be the problem.