commit | 3da0b407cca2ae0112df448b5eb15047a552b3aa | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Sun May 29 21:13:36 2011 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Sun May 29 21:13:36 2011 +0000 |
tree | 2770ffd2d6a087e139bb8a281dade50968a70daf | |
parent | 5f09d858bafee075f25403db6c44ee1fa62d7393 [diff] [blame] |
diff --git a/coders/jp2.c b/coders/jp2.c index 5585cff..a70d091 100644 --- a/coders/jp2.c +++ b/coders/jp2.c
@@ -581,8 +581,8 @@ SetBluePixelComponent(q,ScaleAnyToQuantum((QuantumAny) pixel, range[2])); pixel=(QuantumAny) jas_matrix_getv(pixels[3],x/x_step[3]); - SetOpacityPixelComponent(q,(QuantumRange- - ScaleAnyToQuantum((QuantumAny) pixel,range[3]))); + SetAlphaPixelComponent(q,ScaleAnyToQuantum((QuantumAny) pixel, + range[3])); q++; } break;