From 5344abfe900824c3ded574b82c9136b086a9204e Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 1 Feb 2017 13:25:04 -0500 Subject: [PATCH] ... --- MagickCore/channel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MagickCore/channel.c b/MagickCore/channel.c index c46b81255..3c9b65c46 100644 --- a/MagickCore/channel.c +++ b/MagickCore/channel.c @@ -358,7 +358,8 @@ MagickExport Image *ChannelFxImage(const Image *image,const char *expression, break; case AlphaPixelChannel: { - destination_image->alpha_trait=BlendPixelTrait; + if (image->colorspace != UndefinedColorspace)_ + destination_image->alpha_trait=BlendPixelTrait; break; } case ReadMaskPixelChannel: -- 2.40.0