From 616054b4a28b3c89337b0e188f72918d99391930 Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 7 Dec 2016 18:34:32 -0500 Subject: [PATCH] ... --- MagickCore/compare.c | 6 +++--- MagickWand/mogrify.c | 4 ++-- MagickWand/operation.c | 6 ++++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/MagickCore/compare.c b/MagickCore/compare.c index 8917bf8af..68acaca51 100644 --- a/MagickCore/compare.c +++ b/MagickCore/compare.c @@ -205,15 +205,15 @@ MagickExport Image *CompareImages(Image *image,const Image *reconstruct_image, } (void) SetImageAlphaChannel(highlight_image,OpaqueAlphaChannel,exception); (void) QueryColorCompliance("#f1001ecc",AllCompliance,&highlight,exception); - artifact=GetImageArtifact(image,"highlight-color"); + artifact=GetImageArtifact(image,"compare:highlight-color"); if (artifact != (const char *) NULL) (void) QueryColorCompliance(artifact,AllCompliance,&highlight,exception); (void) QueryColorCompliance("#ffffffcc",AllCompliance,&lowlight,exception); - artifact=GetImageArtifact(image,"lowlight-color"); + artifact=GetImageArtifact(image,"compare:lowlight-color"); if (artifact != (const char *) NULL) (void) QueryColorCompliance(artifact,AllCompliance,&lowlight,exception); (void) QueryColorCompliance("#888888cc",AllCompliance,&masklight,exception); - artifact=GetImageArtifact(image,"masklight-color"); + artifact=GetImageArtifact(image,"compare:masklight-color"); if (artifact != (const char *) NULL) (void) QueryColorCompliance(artifact,AllCompliance,&masklight,exception); /* diff --git a/MagickWand/mogrify.c b/MagickWand/mogrify.c index 30369dc52..e1472b43c 100644 --- a/MagickWand/mogrify.c +++ b/MagickWand/mogrify.c @@ -1830,7 +1830,7 @@ WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc, { if (LocaleCompare("highlight-color",option+1) == 0) { - (void) SetImageArtifact(*image,option+1,argv[i+1]); + (void) SetImageArtifact(*image,"compare:highlight-color",argv[i+1]); break; } if (LocaleCompare("hough-lines",option+1) == 0) @@ -2087,7 +2087,7 @@ WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc, } if (LocaleCompare("lowlight-color",option+1) == 0) { - (void) SetImageArtifact(*image,option+1,argv[i+1]); + (void) SetImageArtifact(*image,"compare:lowlight-color",argv[i+1]); break; } break; diff --git a/MagickWand/operation.c b/MagickWand/operation.c index 076889d30..e0b7548c1 100644 --- a/MagickWand/operation.c +++ b/MagickWand/operation.c @@ -962,7 +962,8 @@ WandPrivate void CLISettingOptionInfo(MagickCLI *cli_wand, { /* FUTURE: this is only used by CompareImages() which is used only by the "compare" CLI program at this time. */ - (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); + (void) SetImageOption(_image_info,"compare:highlight-color", + ArgOption(NULL)); break; } CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option); @@ -1086,7 +1087,8 @@ WandPrivate void CLISettingOptionInfo(MagickCLI *cli_wand, { /* FUTURE: this is only used by CompareImages() which is used only by the "compare" CLI program at this time. */ - (void) SetImageOption(_image_info,option+1,ArgOption(NULL)); + (void) SetImageOption(_image_info,"compare:lowlight-color", + ArgOption(NULL)); break; } if (LocaleCompare("loop",option+1) == 0) -- 2.40.0