Syntactic Confectionery Delight | |
PerlMonks |
Re: graphicsmagick perl shrink image to sizeby tangent (Parson) |
on Nov 01, 2021 at 17:00 UTC ( [id://11138304]=note: print w/replies, xml ) | Need Help?? |
I gave up using Image Magick in favour of Imager. If you have a look at the scale() function on the Imager::Transformations page you will see how easy it is to accomplish.
Obviously you only need to do this transform if the original image exceeds one of the dimensions.
In Section
Seekers of Perl Wisdom
|
|