From: Cristy Date: Sun, 24 Dec 2017 21:26:10 +0000 (-0500) Subject: gray(x) is non-linear to adhere to the CSS color standard X-Git-Tag: 7.0.7-16~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3983096dcf2952e2bbb3cad376b84742fc4bc7f;p=imagemagick gray(x) is non-linear to adhere to the CSS color standard --- diff --git a/MagickCore/color.c b/MagickCore/color.c index 2d9c03ceb..ee1e4eb87 100644 --- a/MagickCore/color.c +++ b/MagickCore/color.c @@ -2456,7 +2456,7 @@ MagickExport MagickBooleanType QueryColorCompliance(const char *name, } if (LocaleCompare(colorspace,"gray") == 0) { - color->colorspace=GRAYColorspace; + color->colorspace=sGRAYColorspace; color->green=color->red; color->blue=color->red; if (((flags & SigmaValue) != 0) &&