From: Cristy Date: Sat, 2 Jul 2016 21:33:49 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.2-3~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb3f2429dd4c12e8cc3532816ccbe68548d45349;p=imagemagick ... --- diff --git a/ChangeLog b/ChangeLog index 300ac0da3..743115238 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2016-07-01 7.0.2-3 Cristy + * Patch so -kuwahara option can preserve colormapped edges. + 2016-06-26 7.0.2-2 Cristy * Release ImageMagick version 7.0.2-2, GIT revision 18514:a7b5b46:20160626. diff --git a/MagickCore/effect.c b/MagickCore/effect.c index 7502b96af..7a4b36530 100644 --- a/MagickCore/effect.c +++ b/MagickCore/effect.c @@ -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 */