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/pcx.c b/coders/pcx.c index e8d9851..534a037 100644 --- a/coders/pcx.c +++ b/coders/pcx.c
@@ -1029,7 +1029,7 @@ { for (x=(long) pcx_info.bytes_per_line; x != 0; x--) { - *q++=ScaleQuantumToChar((Quantum) (QuantumRange-GetOpacityPixelComponent(p))); + *q++=ScaleQuantumToChar((Quantum) (GetAlphaPixelComponent(p))); p++; } break;