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)
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to