]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 24 May 2015 19:30:12 +0000 (19:30 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 24 May 2015 19:30:12 +0000 (19:30 +0000)
MagickCore/channel.c

index 99a52302cb21246b69cb2c98ccdd2903e9656bd3..2ee2d6bb29cdf04c55f7b122d61932684c845d85 100644 (file)
@@ -993,7 +993,7 @@ MagickExport MagickBooleanType SetImageAlphaChannel(Image *image,
               continue;
             }
           Sa=QuantumScale*GetPixelAlpha(image,q);
-          gamma=PerceptibleReciprocal(Sa);
+          gamma=Sa;
           for (i=0; i < (ssize_t) GetPixelChannels(image); i++)
           {
             PixelChannel channel=GetPixelChannelChannel(image,i);