From: Cristy Date: Wed, 1 Feb 2017 18:25:04 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.4-7~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5344abfe900824c3ded574b82c9136b086a9204e;p=imagemagick ... --- 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: