]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 24 Mar 2013 22:29:15 +0000 (22:29 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 24 Mar 2013 22:29:15 +0000 (22:29 +0000)
MagickCore/enhance.c

index dc11ff89ef32f831137af1c8633890f95961b966..06abc76c0a4cb31c98c3dfdd7b9412fe581c231f 100644 (file)
@@ -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++)
     {