]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 10 Jun 2013 17:33:36 +0000 (17:33 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 10 Jun 2013 17:33:36 +0000 (17:33 +0000)
MagickCore/property.c

index f37f7ffe4efffd1127562f474208e9d94d858d47..9f565635fbbbc992e9eba558df169c993541cd7a 100644 (file)
@@ -2550,16 +2550,10 @@ MagickExport const char *GetMagickProperty(ImageInfo *image_info,
         }
       if (LocaleCompare("colorspace",property) == 0)
         {
-          ColorspaceType
-            colorspace;
-
           WarnNoImageReturn("\"%%[%s]\"",property);
           /* FUTURE: return actual colorspace - no 'gray' stuff */
-          colorspace=image->colorspace;
-          if( IfMagickTrue(IsImageGray(image,exception)) )
-            colorspace=GRAYColorspace;
           string=CommandOptionToMnemonic(MagickColorspaceOptions,(ssize_t)
-            colorspace);
+            image->colorspace);
           break;
         }
       if (LocaleCompare("copyright",property) == 0)