]> granicus.if.org Git - imagemagick/commitdiff
https://imagemagick.org/discourse-server/viewtopic.php?f=3&t=36465
authorCristy <urban-warrior@imagemagick.org>
Fri, 2 Aug 2019 23:34:23 +0000 (19:34 -0400)
committerCristy <urban-warrior@imagemagick.org>
Fri, 2 Aug 2019 23:34:23 +0000 (19:34 -0400)
MagickCore/composite.c

index e91c0ca2a85bdf6ba05b63f3110de73e155c1f6f..ae3b1ba33a994481f20e2033dc34a812c4b27259 100644 (file)
@@ -1814,8 +1814,7 @@ MagickExport MagickBooleanType CompositeImage(Image *image,
           case CopyBlackCompositeOp:
           {
             if (channel == BlackPixelChannel)
-              pixel=(MagickRealType) (QuantumRange-
-                GetPixelBlack(source_image,p));
+              pixel=(MagickRealType) GetPixelBlack(source_image,p);
             break;
           }
           case CopyBlueCompositeOp: