]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 13 May 2012 18:28:49 +0000 (18:28 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 13 May 2012 18:28:49 +0000 (18:28 +0000)
MagickCore/attribute.c

index 227645bb40586660d5ddfb9ad2ba7c61cccd2324..158de0a967139f46a0b122641a4dbec18e9a5862 100644 (file)
@@ -690,7 +690,7 @@ MagickExport MagickBooleanType IsImageGray(const Image *image,
   if ((image->type == BilevelType) || (image->type == GrayscaleType) ||
       (image->type == GrayscaleMatteType))
     return(MagickTrue);
-  if (IssRGBColorspace(image->colorspace) == MagickFalse)
+  if (IsGrayColorspace(image->colorspace) == MagickFalse)
     return(MagickFalse);
   type=BilevelType;
   image_view=AcquireVirtualCacheView(image,exception);
@@ -774,7 +774,7 @@ MagickExport MagickBooleanType IsImageMonochrome(const Image *image,
     (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
   if (image->type == BilevelType)
     return(MagickTrue);
-  if (IssRGBColorspace(image->colorspace) == MagickFalse)
+  if (IsGrayColorspace(image->colorspace) == MagickFalse)
     return(MagickFalse);
   type=BilevelType;
   image_view=AcquireVirtualCacheView(image,exception);