using Crop() error: geometry does not contain image
Posted: 2010-05-27T08:28:19-07:00
Hi All,
I used to use Crop() in perlMagick and it worked fine, but now not for some .tiff images, it threw out some errors:
Then the error message:
, it still didn't work:
Thanks!
-J
I used to use Crop() in perlMagick and it worked fine, but now not for some .tiff images, it threw out some errors:
Code: Select all
my $bb = $img->Get('bounding-box');
my $x = $img->Crop(geometry=>$bb);
warn "$x" if "$x";
If I tried the command line asException 310: geometry does not contain image ' *.tif'
Code: Select all
convert -crop a.tif -crop geometry +repage b.tif
Does anyone know how to use Crop() reliably in PerlMagick?convert: geometry does not contain image '*.tif'
Thanks!
-J