From 7e70f7c8701916454c6fb580e1168f0dd7c98592 Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 2 Apr 2013 18:47:27 +0000 Subject: [PATCH] --- MagickCore/composite.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/MagickCore/composite.c b/MagickCore/composite.c index c4e807ea3..306750a5a 100644 --- a/MagickCore/composite.c +++ b/MagickCore/composite.c @@ -580,8 +580,6 @@ MagickExport MagickBooleanType CompositeImage(Image *image, composite_image=CloneImage(composite,0,0,MagickTrue,exception); if (composite_image == (const Image *) NULL) return(MagickFalse); - if (IsGrayColorspace(image->colorspace) != MagickFalse) - (void) SetImageColorspace(image,sRGBColorspace,exception); (void) SetImageColorspace(composite_image,image->colorspace,exception); if ((image->alpha_trait == BlendPixelTrait) && (composite_image->alpha_trait != BlendPixelTrait)) -- 2.40.0