]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 17 Nov 2014 23:54:30 +0000 (23:54 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 17 Nov 2014 23:54:30 +0000 (23:54 +0000)
MagickCore/composite.c

index d81d715e70be7874a2d27c761e2fee0b00690815..81983b9e9ec026427e686d7e5dc769038390ab8b 100644 (file)
@@ -682,7 +682,7 @@ MagickExport MagickBooleanType CompositeImage(Image *image,
         Modify destination outside the overlaid region and require an alpha
         channel to exist, to add transparency.
       */
-      if (image->alpha_trait == UndefinedPixelTrait)
+      if (image->alpha_trait != BlendPixelTrait)
         (void) SetImageAlphaChannel(image,OpaqueAlphaChannel,exception);
       SetPixelAlphaTraits(image,CopyPixelTrait);
       break;