From: cristy Date: Mon, 28 Mar 2011 16:25:23 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~7841 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=153615ec0766676a45f0208918eaf659d183f78b;p=imagemagick --- diff --git a/magick/pixel.c b/magick/pixel.c index b952c12d4..9e7d1c337 100644 --- a/magick/pixel.c +++ b/magick/pixel.c @@ -3425,6 +3425,7 @@ static inline void AlphaBlendMagickPixelPacket(const Image *image, pixel->green=(MagickRealType) color->green; pixel->blue=(MagickRealType) color->blue; pixel->opacity=(MagickRealType) color->opacity; + pixel->index=0.0; if (((image->colorspace == CMYKColorspace) || (image->storage_class == PseudoClass)) && (index != (const IndexPacket *) NULL)) @@ -3436,6 +3437,7 @@ static inline void AlphaBlendMagickPixelPacket(const Image *image, pixel->green=(MagickRealType) (*alpha*color->green); pixel->blue=(MagickRealType) (*alpha*color->blue); pixel->opacity=(MagickRealType) (*alpha*color->opacity); + pixel->index=0.0; if (((image->colorspace == CMYKColorspace) || (image->storage_class == PseudoClass)) && (index != (const IndexPacket *) NULL))