commit | dd43846202275c3f33515b2c45600467a1f26090 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Thu May 06 13:44:04 2010 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Thu May 06 13:44:04 2010 +0000 |
tree | 06a1c08767738bead6df5558cc7f838dcb6d92b5 | |
parent | 7d10d74e4a2ddb0f1223a2a5d0c88754621c921f [diff] [blame] |
diff --git a/magick/cache.c b/magick/cache.c index cdd9a6c..4f39ee1 100644 --- a/magick/cache.c +++ b/magick/cache.c
@@ -2231,6 +2231,8 @@ */ image->taint=MagickTrue; image->type=UndefinedType; + if (image->colorspace == GRAYColorspace) + image->colorspace=RGBColorspace; if (ValidatePixelCacheMorphology(image) == MagickFalse) status=OpenPixelCache(image,IOMode,exception); }