]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 18 Mar 2012 19:12:58 +0000 (19:12 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 18 Mar 2012 19:12:58 +0000 (19:12 +0000)
MagickCore/channel.c

index 7cae8df0642dfc6b311560b5a84875f3fb595286..9f4dda7dd1935e4c60fcbdfa6c0f1cbe9d6cf229 100644 (file)
@@ -351,6 +351,9 @@ MagickExport Image *ChannelFxImage(const Image *image,const char *expression,
             (LocaleCompare(token,"y") == 0) ||
             (LocaleCompare(token,"yellow") == 0))
           SetImageColorspace(destination_image,CMYKColorspace,exception);
+        if ((LocaleCompare(token,"Cb") == 0) ||
+            (LocaleCompare(token,"Cr") == 0))
+          SetImageColorspace(destination_image,YCbCrColorspace,exception);
         GetMagickToken(p,&p,token);
         break;
       }