]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 6 Jul 2013 22:37:31 +0000 (22:37 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 6 Jul 2013 22:37:31 +0000 (22:37 +0000)
MagickCore/colorspace-private.h

index 0617c5b3e7e6cea022f7a09edb2afb4513936790..60013fef98fa85b5d472781575119c9f1799af5d 100644 (file)
@@ -109,8 +109,8 @@ static inline MagickBooleanType IssRGBCompatibleColorspace(
   const ColorspaceType colorspace)
 {
   if ((colorspace == sRGBColorspace) || (colorspace == RGBColorspace) ||
-      (colorspace == scRGBColorspace) || (colorspace == GRAYColorspace) ||
-      (colorspace == TransparentColorspace))
+      (colorspace == scRGBColorspace) || 
+      (IsGrayColorspace(colorspace) != MagickFalse))
     return(MagickTrue);
   return(MagickFalse);
 }