Search found 1 match

by NVisme
Forum: PerlMagick
Topic: Crop() does not gravitate?
Replies: 6
Views: 23777

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');...