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/webp.c b/coders/webp.c index 7795140..8bb52ba 100644 --- a/coders/webp.c +++ b/coders/webp.c
@@ -173,7 +173,7 @@ SetRedPixelComponent(q,ScaleCharToQuantum(*p++)); SetGreenPixelComponent(q,ScaleCharToQuantum(*p++)); SetBluePixelComponent(q,ScaleCharToQuantum(*p++)); - SetOpacityPixelComponent(q,(QuantumRange-ScaleCharToQuantum(*p++))); + SetAlphaPixelComponent(q,ScaleCharToQuantum(*p++)); if (q->opacity != OpaqueOpacity) image->matte=MagickTrue; q++;