[magick-users] pass minimum width and height to resize?
Fred Weinhaus
fmw at alink.net
Thu Jan 24 10:07:12 PST 2008
Hello,
I just recently created a bash shell script to do this. It is called
squareup. You can find it at
http://www.fmwconcepts.com/imagemagick/index.html
You might be able to look at what I have done and convert it to
perlmagick, if you are unable to use it as a bash Unix script.
Fred Weinhaus
>
> 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