]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 20 Feb 2013 22:48:05 +0000 (22:48 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 20 Feb 2013 22:48:05 +0000 (22:48 +0000)
MagickCore/effect.c
MagickCore/resize.c

index d715fdba1c48ed7ea7618be9133fa958d13bab54..21810c64b72bcfed634347f22088d5aa9bed44eb 100644 (file)
@@ -385,7 +385,7 @@ MagickExport Image *AdaptiveBlurImage(const Image *image,const double radius,
         pixels=p;
         pixel=0.0;
         gamma=0.0;
-        if ((blur_traits & BlendPixelTrait) == 0)
+        if ((GetPixelAlphaTraits(blur_image) & BlendPixelTrait) == 0)
           {
             /*
               No alpha blending.
@@ -703,7 +703,7 @@ MagickExport Image *AdaptiveSharpenImage(const Image *image,const double radius,
         pixels=p;
         pixel=0.0;
         gamma=0.0;
-        if ((sharp_traits & BlendPixelTrait) == 0)
+        if ((GetPixelAlphaTraits(sharp_image) & BlendPixelTrait) == 0)
           {
             /*
               No alpha blending.
@@ -999,7 +999,7 @@ MagickExport Image *BlurImage(const Image *image,const double radius,
         k=kernel;
         pixels=p;
         pixel=0.0;
-        if ((blur_traits & BlendPixelTrait) == 0)
+        if ((GetPixelAlphaTraits(blur_image) & BlendPixelTrait) == 0)
           {
             /*
               No alpha blending.
@@ -1116,7 +1116,7 @@ MagickExport Image *BlurImage(const Image *image,const double radius,
         k=kernel;
         pixels=p;
         pixel=0.0;
-        if ((blur_traits & BlendPixelTrait) == 0)
+        if ((GetPixelAlphaTraits(blur_image) & BlendPixelTrait) == 0)
           {
             /*
               No alpha blending.
index 8f32c34efbea198b093145d547f859917b7458c8..7a63de21a5f6e698e320491d54a372d66102067f 100644 (file)
@@ -2318,7 +2318,7 @@ static MagickBooleanType HorizontalFilter(const ResizeFilter *resize_filter,
             continue;
           }
         pixel=0.0;
-        if ((resize_traits & BlendPixelTrait) == 0)
+        if ((GetPixelAlphaTraits(resize_image) & BlendPixelTrait) == 0)
           {
             /*
               No alpha blending.
@@ -2526,7 +2526,7 @@ static MagickBooleanType VerticalFilter(const ResizeFilter *resize_filter,
             continue;
           }
         pixel=0.0;
-        if ((resize_traits & BlendPixelTrait) == 0)
+        if ((GetPixelAlphaTraits(resize_image) & BlendPixelTrait) == 0)
           {
             /*
               No alpha blending.