Search found 1 match
- 2012-05-23T01:51:00-07:00
- Forum: PerlMagick
- Topic: Crop() does not gravitate?
- Replies: 6
- Views: 29409
Re: Crop() does not gravitate?
So, after a little research I found that you can crop an image from the center using the crop command. You just need to use the Set function first to set the gravity to center rather than including it in the Crop function. Example: $image->Set(Gravity=>'Center'); $image->Crop(geometry=>'1068x1425 ...