Adam Shaw on  wrote...
| Hi!
| 
| I want to take an image and rotate it so that its longer dimension is  
| its width.
| 
| In other words, if I apply this command to a 700(w) x 1000(h), it  
| should convert it to 1000x700, appropriately rotated. I don't care  
| whether this turns the image upside-down or not.
| 
| Similarly, if I apply it to a 640x480, it should have no effect.
| 
| Thanks in advance for any help with this.
| 
| Regards, Adam Shaw

landscape rotate....    -rotate -90\<

For the oppisite
portraite rotate....   -rotate 90\>

Pick positive or negative as appropriate.

There is also   -auto-orient  too which rotates according to cammera
orientation EXIF meta-data.

See IM Examples, Rotate
   http://www.cit.gu.edu.au/~anthony/graphics/imagick6/distorts/#rotate


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
   I always figured that if I ever stopped learning, it would
   either mean that I had closed my mind, or that I was dead.
                          -- Robert Asprin  ``Myth-nomers and Im-pervections''
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to