From: cristy Date: Mon, 1 Apr 2013 00:09:53 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3973 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1ee868c5f3c4ebdfbf0f0187572fe8f7b82cb26;p=imagemagick --- diff --git a/MagickCore/enhance.c b/MagickCore/enhance.c index 4bcb0a61c..9da853fc1 100644 --- a/MagickCore/enhance.c +++ b/MagickCore/enhance.c @@ -2494,8 +2494,6 @@ MagickExport MagickBooleanType LevelizeImage(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) for (i=0; i < (ssize_t) image->colors; i++) {