]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 14 Apr 2012 23:40:47 +0000 (23:40 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 14 Apr 2012 23:40:47 +0000 (23:40 +0000)
MagickCore/fx.c
MagickCore/paint.c

index 9a326738ce82f81e057d6e636fdb38f50906f053..dd4d855957622c96e46d083cd83d1522960d083b 100644 (file)
@@ -706,7 +706,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=100.0;
+  blend_percentage.alpha=geometry_info.rho;
   if ((flags & SigmaValue) != 0)
     blend_percentage.green=geometry_info.sigma;
   if ((flags & XiValue) != 0)
index 3b70e53ecc03d6617d5ae4b11ea8bbb987d970f4..ca64b58d8d2c78507f9b3c861c4559943a22ec7c 100644 (file)
@@ -173,7 +173,7 @@ MagickExport MagickBooleanType FloodfillPaintImage(Image *image,
     return(MagickFalse);
   if (IsGrayColorspace(image->colorspace) != MagickFalse)
     (void) TransformImageColorspace(image,sRGBColorspace,exception);
-  if ((target->matte != MagickFalse) && (image->matte == MagickFalse))
+  if ((image->matte == MagickFalse) && (draw_info->fill.matte != MagickFalse))
     (void) SetImageAlpha(image,OpaqueAlpha,exception);
   /*
     Set floodfill state.