commit | 574c5b0416d0ed0db3a5c02e0230feb95bfa5b31 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Mon Apr 09 16:33:15 2012 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Mon Apr 09 16:33:15 2012 +0000 |
tree | fd516be221b929588f0e4c421ec5ea4bfeba5db4 | |
parent | 768165d3e31b0f43f545a993a531cca0e7aa57b7 [diff] [blame] |
diff --git a/MagickCore/annotate.c b/MagickCore/annotate.c index 18f9e41..154bb3b 100644 --- a/MagickCore/annotate.c +++ b/MagickCore/annotate.c
@@ -290,6 +290,8 @@ } if (SetImageStorageClass(image,DirectClass,exception) == MagickFalse) return(MagickFalse); + if (IsGrayColorspace(image->colorspace) != MagickFalse) + (void) TransformImageColorspace(image,sRGBColorspace,exception); status=MagickTrue; for (i=0; textlist[i] != (char *) NULL; i++) {