commit | 46f08209f719f4adeea742c45873c2714e80cdb9 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Sun Jan 10 04:04:21 2010 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Sun Jan 10 04:04:21 2010 +0000 |
tree | b5340118c9ea8f937a81ff554dc563cfaf1e5d0e | |
parent | 3ab7f3eaf68a5397eefcca972f424fee42ae9396 [diff] [blame] |
diff --git a/coders/tga.c b/coders/tga.c index a1e349d..f032171 100644 --- a/coders/tga.c +++ b/coders/tga.c
@@ -839,7 +839,7 @@ *q++=ScaleQuantumToChar(GetRedPixelComponent(p)); if (image->matte != MagickFalse) *q++=(unsigned char) ScaleQuantumToChar((Quantum) - (QuantumRange-GetOpacityPixelComponent(p))); + (GetAlphaPixelComponent(p))); if (image->colorspace == CMYKColorspace) *q++=ScaleQuantumToChar(indexes[x]); }