From: cristy Date: Sun, 24 Mar 2013 22:29:15 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4014 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c0695f8ff8bc15605ca6d0d7bc17660ce1f5c53;p=imagemagick --- diff --git a/MagickCore/enhance.c b/MagickCore/enhance.c index dc11ff89e..06abc76c0 100644 --- a/MagickCore/enhance.c +++ b/MagickCore/enhance.c @@ -2151,8 +2151,6 @@ MagickExport MagickBooleanType LevelImage(Image *image,const double black_point, 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++) {