From: cristy Date: Sun, 18 Mar 2012 19:12:58 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6022 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eef217624bb9677457189c53575f3923bf1d0673;p=imagemagick --- diff --git a/MagickCore/channel.c b/MagickCore/channel.c index 7cae8df06..9f4dda7dd 100644 --- a/MagickCore/channel.c +++ b/MagickCore/channel.c @@ -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; }