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

Anthony Thyssen anthony at griffith.edu.au
Wed Nov 7 18:20:21 PST 2007


lexthoonen on  wrote...
| 
| 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... 
| 
That should work..  Report a bug.

  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
        Up with kites!  Down with para-fauna!   -- Tuffy Koala
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list