clip_mask=CloneImage(image,image->columns,image->rows,MagickTrue,exception);
if (clip_mask == (Image *) NULL)
return(MagickFalse);
- (void) QueryColorCompliance("#0000",AllCompliance,
+ (void) QueryColorCompliance("#ffffff",AllCompliance,
&clip_mask->background_color,exception);
clip_mask->background_color.alpha=(MagickRealType) TransparentAlpha;
(void) SetImageBackgroundColor(clip_mask,exception);
draw_info->clip_mask);
clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info);
(void) CloneString(&clone_info->primitive,value);
- (void) QueryColorCompliance("#ffffff",AllCompliance,&clone_info->fill,
+ (void) QueryColorCompliance("#000000",AllCompliance,&clone_info->fill,
exception);
if (clone_info->clip_mask != (char *) NULL)
clone_info->clip_mask=DestroyString(clone_info->clip_mask);
- status=NegateImage(clip_mask,MagickFalse,exception);
- status&=DrawImage(clip_mask,clone_info,exception);
+ status=DrawImage(clip_mask,clone_info,exception);
(void) SetImageMask(image,ReadPixelMask,clip_mask,exception);
clip_mask=DestroyImage(clip_mask);
clone_info=DestroyDrawInfo(clone_info);
de-emphasize pixel differences with this color
\-metric type measure differences between images with this metric
\-monitor monitor progress
+ \-negate replace each pixel with its complementary color
\-profile filename add, delete, or apply an image profile
\-quality value JPEG/MIFF/PNG compression level
\-quiet suppress all warning messages