From be27412d970c1455b99cf416fac22c589b8fcaea Mon Sep 17 00:00:00 2001
From: Cristy <urban-warrior@imagemagick.org>
Date: Wed, 15 Nov 2017 20:25:55 -0500
Subject: [PATCH] Allow transparency when constructing the highlight image

---
 MagickCore/compare.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/MagickCore/compare.c b/MagickCore/compare.c
index 37573eb79..beaf119ef 100644
--- a/MagickCore/compare.c
+++ b/MagickCore/compare.c
@@ -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);
-- 
2.40.0