summaryrefslogtreecommitdiff
path: root/tiff/contrib/tags/listtif.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 07:14:47 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 07:14:47 +0100
commitd479dd1aab1c1cb907932c6595b0ef33523fc797 (patch)
treead7d454b9edaae3d8892d84cd8f8ef5c2697b79b /tiff/contrib/tags/listtif.c
parent9491825ddff7a294d1f49061bae7044e426aeb2e (diff)
Imported Upstream version 1.8.3upstream/1.8.3
Diffstat (limited to 'tiff/contrib/tags/listtif.c')
-rwxr-xr-xtiff/contrib/tags/listtif.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/tiff/contrib/tags/listtif.c b/tiff/contrib/tags/listtif.c
deleted file mode 100755
index 605de84..0000000
--- a/tiff/contrib/tags/listtif.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * listtif.c -- lists a tiff file.
- */
-
-#include "xtiffio.h"
-#include <stdlib.h>
-
-void main(int argc,char *argv[])
-{
- char *fname="newtif.tif";
- int flags;
-
- TIFF *tif=(TIFF*)0; /* TIFF-level descriptor */
-
- if (argc>1) fname=argv[1];
-
- tif=XTIFFOpen(fname,"r");
- if (!tif) goto failure;
-
- /* We want the double array listed */
- flags = TIFFPRINT_MYMULTIDOUBLES;
-
- TIFFPrintDirectory(tif,stdout,flags);
- XTIFFClose(tif);
- exit (0);
-
-failure:
- printf("failure in listtif\n");
- if (tif) XTIFFClose(tif);
- exit (-1);
-}
-
-/*
- * Local Variables:
- * mode: c
- * c-basic-offset: 8
- * fill-column: 78
- * End:
- */