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.
[RESOLVED] possible bug +clip IM 6.8.0.1 Q16
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
[RESOLVED] possible bug +clip IM 6.8.0.1 Q16
Last edited by fmw42 on 2012-10-23T10:00:14-07:00, edited 1 time in total.
Re: possible bug +clip IM 6.8.0.1 Q16
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.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: possible bug +clip IM 6.8.0.1 Q16
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.