]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 8 Jan 2012 00:38:03 +0000 (00:38 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 8 Jan 2012 00:38:03 +0000 (00:38 +0000)
MagickCore/image.c

index 27278be4b9f4777ce4df16351da8049555235b44..4f00cdd6cc36a6307e3a281a32b70c88556991cf 100644 (file)
@@ -3430,8 +3430,6 @@ MagickExport MagickBooleanType SetImageType(Image *image,const ImageType type,
   {
     case BilevelType:
     {
-      if (IsImageGray(image,exception) == MagickFalse)
-        status=TransformImageColorspace(image,GRAYColorspace,exception);
       if (IsImageMonochrome(image,exception) == MagickFalse)
         {
           quantize_info=AcquireQuantizeInfo(image_info);