Page 1 of 1

+region

Posted: 2018-02-03T00:34:27-07:00
by rmabry
What should happen? All I expect is setting and then unsetting a region:

Code: Select all

 magick -size 100x100 xc:black -region 40x40+20+20  +region badregion.png
Here's what version "7.0.7-15 Q16 x86_64 2018-01-17" thinks of it on Centos 6.9; no image is written:
magick: invalid argument for option '+region' '(null)' at CLI arg 6 @ error/operation.c/CLISimpleOperatorImage/3119.
The doc for +region just says this:
Use +region to remove any previously set regions.
Without the +region all goes as expected.

Rick

Re: +region

Posted: 2018-02-03T09:36:12-07:00
by magick
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.