]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 30 Jan 2012 14:01:06 +0000 (14:01 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 30 Jan 2012 14:01:06 +0000 (14:01 +0000)
MagickCore/image.c

index 27521ab18b89ef934f90f9e8824e2b6947fa137d..3a71f22fd65a2af286270167a9f5d31c59fc637f 100644 (file)
@@ -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.
   */