"Steven Woody" on  wrote...
| hi,
| 
| i want to resize batch of pictures to a smaller size.  the rule is
| every picture's longer edge should be reduce to 800 pixels, and the
| another edge keep the aspect ratio.  how can i do this using `convert'
| command?  i found the problem is how to get know what ( W or H ) is
| the image's longer edge.
| 
| thanks.
| 
Just resize to  800x800

Im will preserve aspect ratio and fit the image in the box. As such the
longest edge will become 800 pixels regardless of orientation.

It is setting the smallest edge to some specific dimention, that is not
available directly in IM as an option.

Prehaps this can be made a +resize option ;-)


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
  "We've heard that a million monkeys at a million keyboards could produce
  the "Complete Works of Shakespeare";  now thanks to the Internet, we know
  that this in NOT true."       -- Robert Wilensky, University of Califonia
 -----------------------------------------------------------------------------
     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