[magick-users] crop in center of image with perl in cgi

lexthoonen Lex at peng.nl
Wed Nov 7 01:50:51 PST 2007


I'm trying to crop at  the center of an image in perl cgi script,
using this command:

$image->Crop( geometry=>'200x150+0+0' , gravity=>'Center' );

it does the cropping, but from the left upper corner of the image, not
the center. What am I doing wrong?

I'm starting to be afraid it isn't possible at all using perl's
image::magick... 

Thanks!
-- 
View this message in context: http://www.nabble.com/crop-in-center-of-image-with-perl-in-cgi-tf4763573.html#a13623978
Sent from the Magick-users mailing list archive at Nabble.com.



More information about the Magick-users mailing list