From eadf2e4228c9d6d304be077414817fe6335c7e14 Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 9 Jan 2017 16:22:51 -0500 Subject: [PATCH] https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31016 --- ChangeLog | 4 ++++ MagickCore/layer.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index b3e7d1c23..21645cbf7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-01-10 7.0.4-4 Cristy + * Recognize XML policy closing tags (reference + https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31182). + 2017-01-07 7.0.4-3 Cristy * Release ImageMagick version 7.0.4-3, GIT revision 19329:930ca78:20170107. diff --git a/MagickCore/layer.c b/MagickCore/layer.c index ea1270112..469cf23d2 100644 --- a/MagickCore/layer.c +++ b/MagickCore/layer.c @@ -1327,6 +1327,8 @@ static Image *OptimizeLayerFrames(const Image *image, prev_image=CloneImage(curr,0,0,MagickTrue,exception); if (prev_image == (Image *) NULL) break; + if (prev_image->alpha_trait == UndefinedPixelTrait) + (void) SetImageAlphaChannel(prev_image,OpaqueAlphaChannel,exception); if ( disposals[i] == DelDispose ) { size_t time = 0; while ( disposals[i] == DelDispose ) { -- 2.40.0