(void) SyncImageSettings(mogrify_info,*image,exception);
if (*option == '+')
{
- (void) SetImageMask(*image,ReadPixelMask,(Image *) NULL,
+ (void) SetImageMask(*image,WritePixelMask,(Image *) NULL,
exception);
break;
}
if (IfNormalOp)
(void) ClipImage(_image,_exception);
else /* "+mask" remove the write mask */
- (void) SetImageMask(_image,ReadPixelMask,(Image *) NULL,_exception);
+ (void) SetImageMask(_image,WritePixelMask,(Image *) NULL,_exception);
break;
}
if (LocaleCompare("clip-mask",option+1) == 0)