nevermind, should have rtfm:
http://www.imagemagick.org/Usage/resize/#space_fill

-------- Original Message  --------
Subject: pass minimum width and height to resize?
From: Razvan Cosma <[EMAIL PROTECTED]>
To: [email protected]
Date: Thu Jan 24 2008 14:45:07 GMT+0200 (EET)



Hi all,
The docs state that wxh specified in the command line to mogrify or through the api are maximum, so an image will fit into, not fill a rectangle with a different aspect ratio. I would like to resize to a minimum x or y, center then crop the other dimension, filling the space available, is this possible? (I'm using perlmagick)



_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to