From: cristy Date: Fri, 7 Nov 2014 22:21:26 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1765 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b90685817b421d76823403e2b2ecf85a4e21b3b;p=imagemagick --- diff --git a/MagickCore/fx.c b/MagickCore/fx.c index db22bf3a6..beef000df 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -4574,6 +4574,8 @@ MagickExport MagickBooleanType SolarizeImage(Image *image, assert(image->signature == MagickSignature); if (image->debug != MagickFalse) (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); + if (IsGrayColorspace(image->colorspace) != MagickFalse) + (void) SetImageColorspace(image,sRGBColorspace,exception); if (image->storage_class == PseudoClass) { register ssize_t