diff options
Diffstat (limited to 'converter/other/tifftopnm.c')
-rw-r--r-- | converter/other/tifftopnm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/converter/other/tifftopnm.c b/converter/other/tifftopnm.c index 5c0797fc..aabf9d09 100644 --- a/converter/other/tifftopnm.c +++ b/converter/other/tifftopnm.c @@ -547,12 +547,6 @@ analyzeImageType(TIFF * const tif, bool grayscale; - if (bps == 1 && spp == 1) { - if (cmdline.headerdump) - pm_message("bilevel"); - grayscale = TRUE; - *maxvalP = 1; - } else { /* How come we don't deal with the photometric for the monochrome case (make sure it's one we know)? -Bryan 00.03.04 */ @@ -658,7 +652,6 @@ analyzeImageType(TIFF * const tif, default: pm_error("unknown photometric: %d", photomet); } - } if (*maxvalP > PNM_OVERALLMAXVAL) pm_error("bits/sample (%d) in the input image is too large.", bps); |