+region

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
rmabry
Posts: 148
Joined: 2004-04-13T11:25:27-07:00

+region

Post by rmabry » 2018-02-03T00:34:27-07:00

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

User avatar
magick
Site Admin
Posts: 10840
Joined: 2003-05-31T11:32:55-07:00

Re: +region

Post by magick » 2018-02-03T09:36:12-07:00

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.

Post Reply