From: Cristy Date: Sun, 2 Jun 2019 12:40:22 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-49~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=065a7f84c4cf6aeab10ec1143bced89aacd0c509;p=imagemagick ... --- 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)