From: cristy Date: Thu, 20 Jun 2013 11:35:39 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3575 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0293af1156aec0320715965cd84653d752de1f38;p=imagemagick --- diff --git a/MagickCore/colorspace.c b/MagickCore/colorspace.c index 00ef9df3b..e15d6da60 100644 --- a/MagickCore/colorspace.c +++ b/MagickCore/colorspace.c @@ -1669,7 +1669,7 @@ static MagickBooleanType TransformsRGBImage(Image *image, double gray; - gray=EncodePixelGamma((MagickRealType) GetPixelGray(image,q)); + gray=(double) GetPixelGray(image,q); SetPixelRed(image,ClampToQuantum(gray),q); SetPixelGreen(image,ClampToQuantum(gray),q); SetPixelBlue(image,ClampToQuantum(gray),q);