From b99c7a0a8ec87c8e03965fe67da77e15dfa20559 Mon Sep 17 00:00:00 2001 From: Cristy Date: Thu, 7 Dec 2017 06:48:30 -0500 Subject: [PATCH] ... --- coders/pnm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/pnm.c b/coders/pnm.c index 3ee13e8c4..7e2e45c74 100644 --- a/coders/pnm.c +++ b/coders/pnm.c @@ -1661,7 +1661,7 @@ static MagickBooleanType WritePNMImage(const ImageInfo *image_info,Image *image, { packet_size=1; (void) CopyMagickString(type,"GRAYSCALE",MagickPathExtent); - if (IsImageMonochrome(image) != MagickFalse) + if (IdentifyImageMonochrome(image,exception) != MagickFalse) (void) CopyMagickString(type,"BLACKANDWHITE",MagickPathExtent); break; } -- 2.40.0