Page 1 of 1
possible bug equal size crop with @ IM 6.7.1.0 Q16
Posted: 2011-07-22T09:21:13-07:00
by fmw42
IM 6.7.1.0 Q16 Mac OSX Tiger
I am getting an error message when trying to do equal size crop regions. (http://www.imagemagick.org/Usage/crop/#crop_equal)
convert rose: -crop '20x20@' +repage rose_%d.png
convert: geometry does not contain image `ROSE' @ warning/transform.c/CropImage/622.
Re: possible bug equal size crop with @ IM 6.7.1.0 Q16
Posted: 2011-07-22T10:50:41-07:00
by magick
We can reproduce the problem you posted and have a fix in ImageMagick-6.7.1-1 Beta available by sometime tomorrow. Thanks.
Re: possible bug equal size crop with @ IM 6.7.1.0 Q16
Posted: 2011-08-01T10:12:13-07:00
by fmw42
This does not seem to be fixed in IM 6.7.1.1 Q16 Mac OSX Tiger:
convert -size 40x40 xc:red -crop 20x20@ +repage red_%d.png
should produce 4 images, but I get 360 images
Am I doing something wrong with my command?
Likewise:
convert rose: -crop '20x20@' +repage rose_%d.png
produces 379 images.
Re: possible bug equal size crop with @ IM 6.7.1.0 Q16
Posted: 2011-08-01T11:12:56-07:00
by magick
We'll have a patch by sometime tomorrow. In the meantime read
http://www.imagemagick.org/Usage/crop/#crop_equal. Its possible Anthony changed the semantics of the area crop. You want -crop 2x2@ to produce 4 images.
Re: possible bug equal size crop with @ IM 6.7.1.0 Q16
Posted: 2011-08-01T11:46:02-07:00
by fmw42
You are correct. My mistake on the syntax.
So there is
no error currently in IM 6.7.1.1.