From: cristy Date: Fri, 6 Jan 2012 14:37:07 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6445 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7880687f8fde939e257873e8eadcfb6ff01a4a16;p=imagemagick --- diff --git a/MagickCore/layer.c b/MagickCore/layer.c index f2a69e11d..d404da179 100644 --- a/MagickCore/layer.c +++ b/MagickCore/layer.c @@ -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); /*