From 065a7f84c4cf6aeab10ec1143bced89aacd0c509 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 2 Jun 2019 08:40:22 -0400 Subject: [PATCH] ... --- MagickCore/signature.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MagickCore/signature.c b/MagickCore/signature.c index 3a49bd067..6c755070c 100644 --- a/MagickCore/signature.c +++ b/MagickCore/signature.c @@ -537,8 +537,7 @@ MagickExport MagickBooleanType SignatureImage(Image *image, PixelChannel channel = GetPixelChannelChannel(image,i); PixelTrait traits = GetPixelChannelTraits(image,channel); - if ((traits == UndefinedPixelTrait) || - ((traits & UpdatePixelTrait) == 0)) + if ((traits & UpdatePixelTrait) == 0) continue; pixel=(float) QuantumScale*p[i]; if (signature_info->lsb_first == MagickFalse) -- 2.40.0