[magick-users] question
Anthony Thyssen
anthony at griffith.edu.au
Tue Jan 16 00:52:01 CST 2007
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 ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
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/
More information about the Magick-users
mailing list