From 205ec39848cba9efa75e665aa0f58abbc062c7b4 Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 1 Nov 2012 23:17:10 +0000 Subject: [PATCH] --- coders/pnm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/coders/pnm.c b/coders/pnm.c index 69ad76756..8a4a0877b 100644 --- a/coders/pnm.c +++ b/coders/pnm.c @@ -2141,9 +2141,6 @@ static MagickBooleanType WritePNMImage(const ImageInfo *image_info,Image *image, (void) WriteBlobString(image,image->endian != LSBEndian ? "1.0\n" : "-1.0\n"); image->depth=32; - if ((format == 'f') && - (IsGrayImage(image,&image->exception) == MagickFalse)) - (void) TransformImageColorspace(image,GRAYColorspace); quantum_type=format == 'f' ? GrayQuantum : RGBQuantum; quantum_info=AcquireQuantumInfo((const ImageInfo *) NULL,image); if (quantum_info == (QuantumInfo *) NULL) -- 2.50.1