]> granicus.if.org Git - imagemagick/commitdiff
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31016
authorCristy <urban-warrior@imagemagick.org>
Mon, 9 Jan 2017 21:22:51 +0000 (16:22 -0500)
committerCristy <urban-warrior@imagemagick.org>
Mon, 9 Jan 2017 21:22:51 +0000 (16:22 -0500)
ChangeLog
MagickCore/layer.c

index b3e7d1c233d080305a808a2adedbe66d476d6d86..21645cbf7ee923b348638a1210a8cf4d777b8179 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-01-10  7.0.4-4 Cristy  <quetzlzacatenango@image...>
+  * 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  <quetzlzacatenango@image...>
   * Release ImageMagick version 7.0.4-3, GIT revision 19329:930ca78:20170107.
 
index ea1270112b5f1b49d82ff9028330646d007f285e..469cf23d2f654ab703e795c0085c790f2832d29f 100644 (file)
@@ -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 ) {