}
(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);
/*
{
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)
}
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;
{
/* 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);
{
/* 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)