From: Cristy Date: Sat, 13 Jul 2019 11:52:54 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/1632 X-Git-Tag: 7.0.8-54~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5d70591ef1a9e815c2934f76bf7748495891597;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/1632 --- diff --git a/coders/pnm.c b/coders/pnm.c index 16703bdff..b90193419 100644 --- a/coders/pnm.c +++ b/coders/pnm.c @@ -1944,7 +1944,7 @@ static MagickBooleanType WritePNMImage(const ImageInfo *image_info,Image *image, if (quantum_info == (QuantumInfo *) NULL) ThrowWriterException(ResourceLimitError,"MemoryAllocationFailed"); (void) SetQuantumEndian(image,quantum_info,MSBEndian); - quantum_info->min_is_white=MagickTrue; + quantum_info->min_is_white=MagickFalase; pixels=GetQuantumPixels(quantum_info); for (y=0; y < (ssize_t) image->rows; y++) {