From: cristy Date: Sun, 11 Dec 2011 16:12:50 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6554 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b27bb77eb3dc0b0f58aee2b1beeeee1bbd978853;p=imagemagick --- diff --git a/MagickCore/fx.c b/MagickCore/fx.c index b341743f1..570a6196b 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -4322,7 +4322,7 @@ MagickExport Image *ShadowImage(const Image *image,const double alpha, return((Image *) NULL); } channel_mask=SetPixelChannelMask(border_image,AlphaChannel); - shadow_image=GaussianBlurImage(border_image,0.0,sigma,bias,exception); + shadow_image=BlurImage(border_image,0.0,sigma,bias,exception); border_image=DestroyImage(border_image); if (shadow_image == (Image *) NULL) return((Image *) NULL); diff --git a/MagickCore/pixel.c b/MagickCore/pixel.c index bf66c6716..6e20e1045 100644 --- a/MagickCore/pixel.c +++ b/MagickCore/pixel.c @@ -5419,7 +5419,7 @@ MagickExport void SetPixelChannelMapMask(Image *image, channel=GetPixelChannelMapChannel(image,i); SetPixelChannelMapTraits(image,channel, GetChannelBit(channel_mask,channel) == 0 ? CopyPixelTrait : - image->matte == MagickFalse ? UpdatePixelTrait : (PixelTrait) + channel == AlphaPixelChannel ? UpdatePixelTrait : (PixelTrait) (UpdatePixelTrait | BlendPixelTrait)); } if (image->storage_class == PseudoClass)