[magick-users] Re: pass minimum width and height to resize?

Razvan Cosma razvan.cosma at pronetis.ro
Thu Jan 24 06:02:40 PST 2008


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 <razvan.cosma at pronetis.ro>
> To: magick-users at imagemagick.org
> 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)
>




More information about the Magick-users mailing list