From: cristy Date: Wed, 4 Apr 2012 17:43:47 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5895 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ddb319d5ba1f2adeedc7d63b00725c79b421e65a;p=imagemagick --- diff --git a/MagickCore/colorspace.c b/MagickCore/colorspace.c index 36aedb73e..f92812078 100644 --- a/MagickCore/colorspace.c +++ b/MagickCore/colorspace.c @@ -2042,7 +2042,7 @@ MagickExport MagickBooleanType TransformRGBImage(Image *image, status=MagickFalse; } image_view=DestroyCacheView(image_view); - if (SetImageColorspace(image,RGBColorspace,exception) == MagickFalse) + if (SetImageColorspace(image,sRGBColorspace,exception) == MagickFalse) return(MagickFalse); return(status); }