]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 8 Nov 2014 11:50:23 +0000 (11:50 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 8 Nov 2014 11:50:23 +0000 (11:50 +0000)
MagickCore/fx.c

index beef000dfffb952672c6bbfc83f56551449a9c22..1c2450bd89bcf7b273e3ada99574815c1c88e671 100644 (file)
@@ -712,7 +712,7 @@ MagickExport Image *ColorizeImage(const Image *image,const char *blend,
   blend_percentage.green=geometry_info.rho;
   blend_percentage.blue=geometry_info.rho;
   blend_percentage.black=geometry_info.rho;
-  blend_percentage.alpha=geometry_info.rho;
+  blend_percentage.alpha=(MagickRealType) TransparentAlpha;
   if ((flags & SigmaValue) != 0)
     blend_percentage.green=geometry_info.sigma;
   if ((flags & XiValue) != 0)
@@ -1495,9 +1495,7 @@ static double FxGetSymbol(FxInfo *fx_info,const PixelChannel channel,
         case IndexPixelChannel:
           return(0.0);
         case IntensityPixelChannel:
-        {
           return(QuantumScale*GetPixelInfoIntensity(&pixel));
-        }
         default:
           break;
       }