Page 1 of 1

[RESOLVED] possible bug +clip IM 6.8.0.1 Q16

Posted: 2012-10-16T15:28:57-07:00
by fmw42
IM 6.8.0.1 Q16 Mac OSX Snow Leopard.


This works to make the inside region red.

convert 1.psd -clip -fill red -colorize 100 1test11.png


According to http://www.imagemagick.org/Usage/masking/#clip

"Note that the "+clip" operator negates the mask"

So this I would think would leave the outside as is and make the inside red

convert 1.psd +clip -fill red -colorize 100 1test12.png

But it is all red.


Is this a bug or am I misunderstanding something.

Re: possible bug +clip IM 6.8.0.1 Q16

Posted: 2012-10-23T04:57:08-07:00
by magick
The documentation might be wrong. The +clip option removes the image clip mask. It does not negate it. To negate it, you can extract it, negate it yourself, associate it with your original image, then apply.

Re: possible bug +clip IM 6.8.0.1 Q16

Posted: 2012-10-23T09:59:22-07:00
by fmw42
magick wrote:The documentation might be wrong. The +clip option removes the image clip mask. It does not negate it. To negate it, you can extract it, negate it yourself, associate it with your original image, then apply.

Confirmed. +clip removes the mask contrary to the Usage page that says it negates it.