]> granicus.if.org Git - imagemagick/commitdiff
Allow transparency when constructing the highlight image
authorCristy <urban-warrior@imagemagick.org>
Thu, 16 Nov 2017 01:25:55 +0000 (20:25 -0500)
committerCristy <urban-warrior@imagemagick.org>
Thu, 16 Nov 2017 01:25:55 +0000 (20:25 -0500)
MagickCore/compare.c

index 37573eb7930a27fcb801df9fadd6250b75e129f2..beaf119ef65f0117e7c825dcbe1e07366b026ca9 100644 (file)
@@ -319,7 +319,6 @@ MagickExport Image *CompareImages(Image *image,const Image *reconstruct_image,
   image_view=DestroyCacheView(image_view);
   (void) CompositeImage(difference_image,highlight_image,image->compose,
     MagickTrue,0,0,exception);
-  (void) SetImageAlphaChannel(difference_image,OffAlphaChannel,exception);
   highlight_image=DestroyImage(highlight_image);
   if (status == MagickFalse)
     difference_image=DestroyImage(difference_image);