]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 6 May 2010 13:44:04 +0000 (13:44 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 6 May 2010 13:44:04 +0000 (13:44 +0000)
ChangeLog
magick/cache.c

index 4ea63f0906f4c9e0024897e6c960a61741a3f605..4e103798dace6bbb9314b534d29038650246c2b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,12 @@
+2010-05-06  6.6.1-6 Cristy  <quetzlzacatenango@image...>
+  * Do not claim gray colorspace if gray image includes a non-gray pixel.
+
 2010-05-06  6.6.1-6 Anthony Thyssen <A.Thyssen@griffith...>
   * Made use of new no-'sync' channel enabled mathematical compose methods
     for the difference morphology methods.  These should now work correctly
     for specific channels, and more importantally for alpha shaped morphology.
 
-2010-05-05  6.6.1-6 Cristy and Glenn Randers-Pehrson <glennrp@image...>
+2010-05-05  6.6.1-6 Glenn Randers-Pehrson <glennrp@image...>
   * Fixed bugs with losing the opacity channel while writing some PNG images.
     (bug reported by Anthony T.)
 
index cdd9a6ce40a2904ca809f2022dfbd130bea772d6..4f39ee1558a2e36938bd24a0471d2eacc565b948 100644 (file)
@@ -2231,6 +2231,8 @@ MagickExport Cache GetImagePixelCache(Image *image,
       */
       image->taint=MagickTrue;
       image->type=UndefinedType;
+      if (image->colorspace == GRAYColorspace)
+        image->colorspace=RGBColorspace;
       if (ValidatePixelCacheMorphology(image) == MagickFalse)
         status=OpenPixelCache(image,IOMode,exception);
     }