diff --git a/coders/palm.c b/coders/palm.c
index fd1fa99..8baf541 100644
--- a/coders/palm.c
+++ b/coders/palm.c
@@ -513,8 +513,7 @@
     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);
       }