]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 2 Jul 2016 21:33:49 +0000 (17:33 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 2 Jul 2016 21:33:49 +0000 (17:33 -0400)
ChangeLog
MagickCore/effect.c

index 300ac0da39fb88e6cd64b5e240c938a87b596ee7..7431152387efcd414c1c3ae26ed38b14855edf5e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2016-07-01  7.0.2-3 Cristy  <quetzlzacatenango@image...>
+  * Patch so -kuwahara option can preserve colormapped edges.
+
 2016-06-26  7.0.2-2 Cristy  <quetzlzacatenango@image...>
   * Release ImageMagick version 7.0.2-2, GIT revision 18514:a7b5b46:20160626.
 
index 7502b96af6e6d250d2178fc1f4235229a3713165..7a4b36530dd8dc2ed97607c343b92b0c273ed221 100644 (file)
@@ -1432,8 +1432,6 @@ MagickExport Image *GaussianBlurImage(const Image *image,const double radius,
 static inline MagickRealType GetMeanLuma(const Image *magick_restrict image,
   const double *magick_restrict pixel)
 {
-  if (image->colorspace == GRAYColorspace)
-    return((MagickRealType) pixel[image->channel_map[GrayPixelChannel].offset]);
   return(0.212656f*pixel[image->channel_map[RedPixelChannel].offset]+
     0.715158f*pixel[image->channel_map[GreenPixelChannel].offset]+
     0.072186f*pixel[image->channel_map[BluePixelChannel].offset]);  /* Rec709 */