From 4a959f7974b97959309f63727b3b29326bdf1242 Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 30 Jan 2012 14:01:06 +0000 Subject: [PATCH] --- MagickCore/image.c | 2 ++ 1 file changed, 2 insertions(+) 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. */ -- 2.40.0