Search found 1 match
Search found 1 match • Page 1 of 1
- Forum: PerlMagick
- Topic: Crop() does not gravitate?
- Replies: 6
- Views: 21398
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');...