]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 10 Jun 2011 16:40:42 +0000 (16:40 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 10 Jun 2011 16:40:42 +0000 (16:40 +0000)
wand/pixel-wand.c

index 45ba46af21c9b563565cb7fb7ff2bea0492df346..33e52cd2f261723e50d3b813efef992c285b058e 100644 (file)
@@ -1293,7 +1293,7 @@ WandExport void PixelGetQuantumColor(const PixelWand *wand,PixelPacket *color)
   if (wand->debug != MagickFalse)
     (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
   assert(color != (PixelPacket *) NULL);
-  SetRedPixelComponent(color,ClampToQuantum(wand->pixel.opacity));
+  SetAlphaPixelComponent(color,ClampToQuantum(wand->pixel.opacity));
   if (wand->pixel.colorspace == CMYKColorspace)
     {
       SetRedPixelComponent(color,ClampToQuantum((MagickRealType) QuantumRange-