From: Cristy Date: Wed, 20 Sep 2017 00:41:01 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.7-4~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0477ad03e2da2c1d4ecc0dcf89b4ebdab6be9cfb;p=imagemagick ... --- diff --git a/MagickCore/colormap.c b/MagickCore/colormap.c index d59021a6e..7bcca68a1 100644 --- a/MagickCore/colormap.c +++ b/MagickCore/colormap.c @@ -135,11 +135,11 @@ MagickExport MagickBooleanType AcquireImageColormap(Image *image, pixel=(double) (i*(QuantumRange/MagickMax(colors-1,1))); GetPixelInfo(image,image->colormap+i); - image->colormap[i].alpha_trait=BlendPixelTrait; image->colormap[i].red=pixel; image->colormap[i].green=pixel; image->colormap[i].blue=pixel; image->colormap[i].alpha=OpaqueAlpha; + image->colormap[i].alpha_trait=BlendPixelTrait; } return(SetImageStorageClass(image,PseudoClass,exception)); }