]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 16 Oct 2013 10:28:27 +0000 (10:28 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 16 Oct 2013 10:28:27 +0000 (10:28 +0000)
MagickCore/colorspace-private.h

index 60013fef98fa85b5d472781575119c9f1799af5d..6576f95f855f9bcd456e9b4435e860e9894cc09c 100644 (file)
@@ -92,7 +92,8 @@ static inline MagickBooleanType IsGrayColorspace(
 
 static inline MagickBooleanType IsRGBColorspace(const ColorspaceType colorspace)
 {
-  if ((colorspace == RGBColorspace) || (colorspace == scRGBColorspace))
+  if ((colorspace == RGBColorspace) || (colorspace == scRGBColorspace) ||
+      (colorspace == XYZColorspace))
     return(MagickTrue);
   return(MagickFalse);
 }