about summary refs log tree commit diff
path: root/converter/other/tifftopnm.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-03-25 21:29:34 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-03-25 21:29:34 +0000
commit8b32628b4c65cdd2b09e877150bbc4bcdd9b6ba7 (patch)
tree29dd7a9b2a32f5372fd8e6f2621792928cf29f0d /converter/other/tifftopnm.c
parent53501b361d00b707514a68ce298a6af1d017717a (diff)
downloadnetpbm-mirror-8b32628b4c65cdd2b09e877150bbc4bcdd9b6ba7.tar.gz
netpbm-mirror-8b32628b4c65cdd2b09e877150bbc4bcdd9b6ba7.tar.xz
netpbm-mirror-8b32628b4c65cdd2b09e877150bbc4bcdd9b6ba7.zip
Release 10.77.04
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2926 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/tifftopnm.c')
-rw-r--r--converter/other/tifftopnm.c7
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);