From: cristy Date: Tue, 25 Oct 2011 11:37:00 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6745 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce1406f05a68e3779aae44086e92852a99f132b7;p=imagemagick --- diff --git a/coders/palm.c b/coders/palm.c index fd1fa99b6..8baf5412e 100644 --- a/coders/palm.c +++ b/coders/palm.c @@ -513,8 +513,7 @@ static Image *ReadPALMImage(const ImageInfo *image_info, if (flags & PALM_HAS_TRANSPARENCY_FLAG) { if (bits_per_pixel != 16) - SetPixelInfoPacket(image,image->colormap+(mask-transparentIndex), - &transpix); + transpix=image->colormap[mask-transparentIndex]; (void) TransparentPaintImage(image,&transpix,(Quantum) TransparentAlpha, MagickFalse,exception); }