]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 6 Jan 2012 14:37:07 +0000 (14:37 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 6 Jan 2012 14:37:07 +0000 (14:37 +0000)
MagickCore/layer.c

index f2a69e11df511195b70e97adddc0279c1ab0a49c..d404da1792d2bcf3de14de2d59868a124946c13a 100644 (file)
@@ -249,8 +249,6 @@ MagickExport Image *CoalesceImages(const Image *image,ExceptionInfo *exception)
     (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
   assert(exception != (ExceptionInfo *) NULL);
   assert(exception->signature == MagickSignature);
-
-  /* initialise first image */
   next=GetFirstImageInList(image);
   bounds=next->page;
   if (bounds.width == 0)
@@ -273,6 +271,8 @@ MagickExport Image *CoalesceImages(const Image *image,ExceptionInfo *exception)
     return((Image *) NULL);
   coalesce_image->page=bounds;
   coalesce_image->dispose=NoneDispose;
+  coalesce_image->matte=MagickTrue;
+  coalesce_image->background_color.matte=MagickTrue;
   coalesce_image->background_color.alpha=(Quantum) TransparentAlpha;
   (void) SetImageBackgroundColor(coalesce_image,exception);
   /*