From eef217624bb9677457189c53575f3923bf1d0673 Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 18 Mar 2012 19:12:58 +0000 Subject: [PATCH] --- MagickCore/channel.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.40.0