From 6040173a6da3e3576b31f049a521a615e45be54f Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 26 Nov 2016 15:47:17 -0500 Subject: [PATCH] ... --- MagickCore/draw.c | 7 +++---- utilities/compare.1.in | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 19ee54296..4e4ebb1cd 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -1421,7 +1421,7 @@ MagickExport MagickBooleanType DrawClipPath(Image *image, 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); @@ -1430,12 +1430,11 @@ MagickExport MagickBooleanType DrawClipPath(Image *image, 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); diff --git a/utilities/compare.1.in b/utilities/compare.1.in index 0f0734b17..753775b3b 100644 --- a/utilities/compare.1.in +++ b/utilities/compare.1.in @@ -36,6 +36,7 @@ Image Settings: 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 -- 2.40.0