From f2f4c1cbe90e1c9aa9ba4d0a0e73b56b6edd1f70 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 12 Feb 2017 11:45:28 -0500 Subject: [PATCH] ... --- MagickCore/channel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MagickCore/channel.c b/MagickCore/channel.c index 307596c22..c95b23748 100644 --- a/MagickCore/channel.c +++ b/MagickCore/channel.c @@ -853,8 +853,7 @@ MagickExport Image *SeparateImages(const Image *image,ExceptionInfo *exception) { PixelChannel channel=GetPixelChannelChannel(image,i); PixelTrait traits=GetPixelChannelTraits(image,channel); - if ((traits == UndefinedPixelTrait) || - ((traits & UpdatePixelTrait) == 0)) + if (traits == UndefinedPixelTrait) continue; separate_image=SeparateImage(image,(ChannelType) (1 << channel),exception); if (separate_image != (Image *) NULL) -- 2.40.0