From: cristy Date: Mon, 30 Jan 2012 14:01:06 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6296 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a959f7974b97959309f63727b3b29326bdf1242;p=imagemagick --- diff --git a/MagickCore/image.c b/MagickCore/image.c index 27521ab18..3a71f22fd 100644 --- a/MagickCore/image.c +++ b/MagickCore/image.c @@ -2704,6 +2704,8 @@ MagickExport MagickBooleanType SetImageBackgroundColor(Image *image, assert(image->signature == MagickSignature); if (SetImageStorageClass(image,DirectClass,exception) == MagickFalse) return(MagickFalse); + if (image->background_color.matte != MagickFalse) + image->matte=MagickTrue; /* Set image background color. */