"Fossies" - the Fresh Open Source Software Archive

Member "ivtools-ivtools-2.0.4/src/TIFF/README" (9 Oct 2020, 20950 Bytes) of package /linux/misc/ivtools-ivtools-2.0.4.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 NOTE: The file CHANGES-v3.0 has a list of changes between
    2       v2.4.2 and this software.
    3 
    4 TIFF Software "Release" 3.00
    5 ----------------------------
    6 This is Version 3.00 of my public domain TIFF support software.
    7 Included is a library, libtiff, for reading and writing TIFF files.
    8 The library, along with associated tool programs, should handle most of
    9 your needs for reading and writing files that follow the 5.0 TIFF spec
   10 for Classes B, G, P, and R.  There is also considerable support for
   11 proposed additions that are to appear in the 6.0 TIFF spec.
   12 
   13     o core requirements
   14 	both "MM" and "II" byte orders are handled
   15 	multiple subfiles can be read and written
   16 	editing is NOT supported in that related subfiles (e.g.
   17 	  a reduced resolution version of an image) are not automatically
   18 	  updated
   19 	
   20 	Tags handled: NewSubfileType, ImageWidth, ImageLength, Rowsperstrip,
   21 		      StripOffsets, StripByteCounts, XResolution, YResolution,
   22 		      ResolutionUnit.
   23     o Class B for bilevel images
   24 	SamplesPerPixel = 1
   25 	BitsPerSample = 1
   26 	Compression = 1 (none), 2 (CCITT 1D), or 32773 (PackBits)
   27 	PhotometricInterpretation = 0 (Min-is-White), 1 (Min-is-Black)
   28     o Class G for grayscale images
   29 	SamplesPerPixel = 1
   30 	BitsPerSample = 4, 8
   31 	Compression = 1 (none) 5 (LZW)
   32 	PhotometricInterpretation = 0 (Min-is-White), 1 (Min-is-Black)
   33     o Class P for palette color images
   34 	SamplesPerPixel = 1
   35 	BitsPerSample = 1-8
   36 	Compression = 1 (none) 5 (LZW)
   37 	PhotometricInterpretation = 3 (Palette RGB)
   38 	ColorMap
   39     o Class R for RGB full color images
   40 	SamplesPerPixel = 3
   41 	BitsPerSample = <8,8,8>
   42 	PlanarConfiguration = 1, 2
   43 	Compression = 1 (none) 5 (LZW)
   44 	PhotometricInterpretation = 2 (RGB)
   45     o Class F for facsimile (proposed appendix to 5.0 spec)
   46 	(Class B tags plus...)
   47 	Compression = 3 (CCITT Group 3), 4 (CCITT Group 4)
   48 	FillOrder = 1 (MSB), 2 (LSB)
   49 	Group3Options = 1 (2d encoding), 4 (zero fill), 5 (2d+fill)
   50 	ImageWidth = 1728, 2048, 2482
   51 	NewSubFileType = 2
   52 	ResolutionUnit = 2 (Inch), 3 (Centimeter)
   53 	PageNumber, XResolution,  YResolution, Software,
   54 	BadFaxLines, CleanFaxData, ConsecutiveBadFaxLines,
   55 	DateTime, DocumentName, ImageDescription, Orientation
   56     o Class S for separated images (Appendix K to appear in 6.0)
   57 	SamplesPerPixel = 4
   58 	PlanarConfiguration = 1, 2
   59 	Compression = 1 (none), 5 (LZW)
   60 	PhotometricInterpretation = 5 (Separated)
   61 	InkSet = 1 (CMYK)
   62 	DotRange, InkNames, DotRange, TargetPrinter
   63     o Class Y for JPEG images (Appendix O to appear in 6.0)
   64 	SamplesPerPixel = 3
   65 	BitsPerSample = <8,8,8>
   66 	PlanarConfiguration = 1, 2
   67 	Compression = 1 (none),  5 (LZW), 32865 (JPEG)
   68 	PhotometricInterpretation = 6 (YCbCr)
   69 	YCbCrCoefficients, YCbCrSubsampling, YCbCrPositioning
   70 	(colorimetry info from Appendix H; see below)
   71     o Class "JPEG" for JPEG images (Appendix P to appear in 6.0)
   72 	PhotometricInterpretation = 1 (grayscale), 2 (RGB), 5 (CMYK), 6 (YCbCr)
   73 	(Class Y tags if YCbCr)
   74 	(Class S tags if CMYK)
   75 	Compression = 6 (JPEG)
   76 	JPEGProc = 0 (baseline)
   77 	JPEGQTables = ... (offsets to per-channel Q matrices)
   78 	JPEGDCTables = .... (offsets to per-channel DC tables)
   79 	JPEGACTables = .... (offsets to per-channel AC tables)
   80 	JPEGRestartInterval
   81     o Tiled Images (Appendix L to appear in 6.0)
   82 	TileWidth
   83 	TileLength
   84 	TileOffsets
   85 	TileByteCounts
   86     o Image Colorimetry Information (Appendix H to appear in 6.0)
   87 	WhitePoint
   88 	PrimaryChromaticities
   89 	TransferFunction
   90 	ReferenceBlackWhite
   91 
   92 In addition, the library supports some optional compression algorithms
   93 that are, in some cases, of dubious value.
   94 	Compression = 32766	NeXT 2-bit encoding
   95 	Compression = 32809	ThunderScan 4-bit encoding
   96 
   97 [JPEG compression should fit into this library simply by replacing
   98  the existing stub JPEG compression module.  That is, all YCbCr and
   99  JPEG-related tags are supported in this version of the library.]
  100 
  101 The following tags are recognized and handled by the library (as
  102 described in the table).  If no use is indicated, then the library
  103 reads and writes the tag, but does not use it internally.
  104 
  105 Tag Name		Value	R/W	Library's Use
  106 -----------------------------------------------------
  107 NewSubFileType		254	R/W	(called SubFileType)
  108 SubFileType		255	R/W	(called OSubFileType)
  109 ImageWidth		256	R/W	lots
  110 ImageLength		257	R/W	lots
  111 BitsPerSample		258	R/W	lots
  112 Compression		259	R/W	choosing compression routines
  113 PhotometricInterpretation 262	R/W	Group 3 and JPEG code
  114 Thresholding		263	R/W	
  115 CellWidth		264		parsed but ignored
  116 CellLength		265		parsed but ignored
  117 FillOrder		266	R/W	control bit order
  118 DocumentName		269	R/W
  119 ImageDescription 	270	R/W
  120 Make			271	R/W
  121 Model			272	R/W
  122 StripOffsets		273	R/W	data i/o
  123 Orientation		274	R/W
  124 SamplesPerPixel		277	R/W	lots
  125 RowsPerStrip		278	R/W	data i/o
  126 StripByteCounts		279	R/W	data i/o
  127 MinSampleValue		280	R/W
  128 MaxSampleValue		281	R/W
  129 XResolution		282	R/W
  130 YResolution		283	R/W	used by Group 3 2d encoding
  131 PlanarConfiguration	284	R/W	data i/o
  132 PageName		285	R/W
  133 XPosition		286	R/W
  134 YPosition		286	R/W
  135 FreeOffsets		288		parsed but ignored
  136 FreeByteCounts		289		parsed but ignored
  137 GrayResponseUnit	290		parsed but ignored
  138 GrayResponseCurve	291		parsed but ignored
  139 Group3Options		292	R/W	used by Group 3 code
  140 Group4Options		293	R/W
  141 ResolutionUnit		296	R/W
  142 PageNumber		297	R/W
  143 ColorResponseUnit	300		parsed but ignored
  144 TransferFunction	301	R/W
  145 Software		305	R/W
  146 DateTime		306	R/W
  147 Artist			315	R/W
  148 HostComputer		316	R/W
  149 Predictor		317	R/W	used by LZW code
  150 WhitePoint		318	R/W
  151 PrimaryChromacities	319	R/W
  152 ColorMap		320	R/W
  153 TileWidth		322	R/W	data i/o
  154 TileLength		323	R/W	data i/o
  155 TileOffsets		324	R/W	data i/o
  156 TileByteCounts		324	R/W	data i/o
  157 BadFaxLines		326	R/W
  158 CleanFaxData		327	R/W
  159 ConsecutiveBadFaxLines	328	R/W
  160 InkSet			332	R/W
  161 InkNames		333	R/W
  162 DotRange		336	R/W
  163 TargetPrinter		337	R/W
  164 ExtraSamples		338	R/W
  165 SampleFormat		339	R/W
  166 JPEGProc		512	R/W	JPEG code
  167 JPEGQRestartInterval	515	R/W	JPEG code
  168 JPEGQTables		519	R/W	JPEG code
  169 JPEGDCTables		520	R/W	JPEG code
  170 JPEGACTables		521	R/W	JPEG code
  171 YCbCrCoefficients	529	R/W	used by TIFFReadRGBAImage
  172 YCbCrSubsampling	530	R/W	tile/strip size calculations
  173 YCbCrPositioning	531	R/W
  174 ReferenceBlackWhite	532	R/W
  175 Matteing		32995	R
  176 DataType		32996	R
  177 ImageDepth		32997	R/W	tile/strip calculations
  178 TileDepth		32998	R/W	tile/strip calculations
  179 
  180 The Matteing and DataType tags have been obsoleted by the 6.0
  181 ExtraSamples and SampleFormat tags.  Note that the ExtraSamples tag is
  182 only supported as needed to store Associated Alpha data.  Consult the
  183 documentation on the ExtraSamples tag and Associated Alpha for
  184 elaboration.  Note however that if you use Associated Alpha, you are
  185 expected to save data that is pre-multipled by Alpha.  If this means
  186 nothing to you, check out Porter & Duff's paper in the '84 SIGGRAPH
  187 proceedings: "Compositing Digital Images".
  188 
  189 The ImageDepth tag is a non-standard, but registered tag that specifies
  190 the Z-dimension of volumetric data.  The combination of ImageWidth,
  191 ImageLength, and ImageDepth, defines a 3D volume of pixels that are
  192 further specified by BitsPerSample and SamplesPerPixel.  The TileDepth
  193 tag (also non-standard, but registered) can be used to specified a
  194 subvolume "tiling" of a volume of data.
  195 
  196 The JPEG, Colorimetry, and CMYK tags are planned additions for TIFF
  197 6.0.  Consult the appropriate TIFF appendices for the descriptions of
  198 these tags.
  199 
  200 LIBTIFF
  201 -------
  202 Libtiff is the software library that you can use to read and write TIFF
  203 files (most all the tools use it to do their work).  The library
  204 provides two interfaces, one for strip-based images and one for
  205 tile-based images.  The normal interface is through a simple
  206 scanline-based interface that works with images comprised of strips.
  207 For example, to read the contents of a file, the following might be used:
  208 
  209 	#include "tiffio.h"
  210 
  211 	TIFF *tif;
  212 	unsigned long imagelength;
  213 	char *buf;
  214 	long row;
  215 
  216 	tif = TIFFOpen("myfile.tif", "r");
  217 	TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &imagelength);
  218 	buf = malloc(TIFFScanlineSize(tif));
  219 	for (row = 0; row < imagelength; row++)
  220 		TIFFReadScanline(tif, buf, row);
  221 
  222 (this example assumes samples are packed contiguously.)  Similarly, to
  223 write a file, something like the following can be used:
  224 
  225 	tif = TIFFOpen("myfile.tif", "w");
  226 	TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, imagewidth);
  227 	TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_LZW);
  228 	... <set other required tags>
  229 	row = 0;
  230 	while (...more scanlines to write...)
  231 		TIFFWriteScanline(tif, buf, row);
  232 	TIFFClose(tif);
  233 
  234 (once again, we assume samples are packed contiguously.)
  235 
  236 A 2D tile-based interface is also provided as an alternative to the
  237 scanline-orientated interfaces.  With this interface, an image is
  238 broken up into a set of rectangular areas called tiles.  All the tiles
  239 in an image have the same size, and the tile width and length must each
  240 be a multiple of 16 pixels.  Tiles are ordered left-to-right and
  241 top-to-bottom in an image.  As for scanlines, samples can be packed
  242 contiguously or separately.  When separated, all the tiles for a sample
  243 are colocated in the file.  That is, all the tiles for sample 0 appear
  244 before the tiles for sample 1, etc.
  245 
  246 Tiles and strips may also be extended in a z dimension to form
  247 volumes.  Data volumes are organized as "slices".  That is, all the
  248 data for a slice is colocated.  Volumes whose data is organized in
  249 tiles can also have a tile depth so that data can be organized in
  250 cubes.
  251 
  252 The interface for tiles is similar to scanlines.  To read a tiled image,
  253 code of the following sort might be used:
  254 
  255 	unsigned long imageWidth, imageLength;
  256 	unsigned long tileWidth, tileLength;
  257 	unsigned long x, y;
  258 	char *buf;
  259 
  260 	tif = TIFFOpen("myfile.tif", "r");
  261 	TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &imageWidth);
  262 	TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &imageLength);
  263 	TIFFGetField(tif, TIFFTAG_TILEWIDTH, &tileWidth);
  264 	TIFFGetField(tif, TIFFTAG_TILELENGTH, &tileLength);
  265 	buf = malloc(TIFFTileSize(tif));
  266 	for (y = 0; y < imageLength; y += tileLength)
  267 		for (x = 0; x < imageWidth; x += tileWidth)
  268 			TIFFReadTile(tif, buf, x, y, 0);
  269 
  270 (once again, we assume samples are packed contiguously.)
  271 
  272 Note that unlike the stdio library, libtiff only supports reading OR
  273 writing of a file.   There is also an append mode, but this has not
  274 really been tested.
  275 
  276 TOOLS
  277 -----
  278 There are two device-dependent programs:
  279 
  280 o tiffgt is used to display the contents of a TIFF file on a
  281   framebuffer.  The version included in this release was written
  282   for the Silicon Graphics Graphics Library (GL), although it
  283   should be a simple matter to tailor it for other systems.
  284 o tiffsv is used to save all or part of a framebuffer in a
  285   TIFF file.  Once again, the version of tiffsv included here
  286   was written for the GL, but should be tailorable to other devices.
  287   (Note, tiffsv uses the readdisplay routine that was introduced
  288   in IRIX 4.0.)
  289 
  290 The remaining programs should be device-independent:
  291 
  292 o tiffinfo formats information about one or more TIFF files
  293 o tiffdump displays the verbatim contents of the TIFF directory in a
  294   file (it's very useful for debugging bogus files that you may get from
  295   someone that claims they support TIFF).
  296 o tiffcp is used to copy, concatenate, and convert TIFF images (e.g.
  297   switching from Compression=5 to Compression=1).
  298 o tiff2ps is a program that converts a TIFF image to PostScript.
  299 o tiffcmp can be used to compare the contents of two TIFF files (it does
  300   not check all the directory information, but does check all the data).
  301 o tiff2bw is a simple program to convert a color image to grayscale.
  302 o ras2tiff is a quick hack that converts Sun rasterfile format images to
  303   TIFF -- it's less than complete.
  304 o rgb2ycbcr converts an RGB, grayscale, or bilevel TIFF image to a
  305   YCbCr TIFF image.
  306 o gif2tiff is a quick hack that converts GIF 87a format images to TIFF.
  307 o ppm2tiff is a quick hack that converts PPM format images to TIFF.
  308 o fax2tiff converts raw Group 3 facsimile data to TIFF.
  309 o pal2rgb converts a Palette color image to a full color RGB image by
  310   applying the colormap.
  311 o tiffdither dithers a b&w image into a bilevel image (suitable for
  312   use in creating fax files)
  313 o tiffsplit creates one or more single-image files from a (possibly)
  314   multi-image file
  315 o Finally, tiffmedian is a version of Paul Heckbert's median cut program
  316   that reads an RGB TIFF image, and creates a TIFF palette file as a
  317   result.  It's useful for converting full-color RGB images to 8-bit
  318   color for your friends that have cheapo 8-bit framebuffers.
  319 
  320 There is also:
  321 
  322 o sgi2tiff, a program to convert SGI image files to TIFF.  This
  323   program is only useful on SGI machines as it uses -limage.
  324 
  325 Check out the manual pages for details about the above programs.
  326 
  327 CONTRIBUTED STUFF:
  328 -----------------
  329 The directory contrib has contributed software:
  330 
  331 contrib/dbs	an X-based TIFF viewer from Dan & Chris Sears
  332 contrib/ras	two programs by Patrick Naughton for converting
  333 		between Sun rasterfile format and TIFF (these
  334 		require libpixrect.a, as opposed to the one in
  335 		tools that doesn't)
  336 contrib/fax2ps	a program that converts TIFF/F images to an encoded
  337 		form of PostScript that is faster to print than just
  338 		dumping a full raster
  339 contrib/vms	scripts and files from Karsten Spang for building
  340 		the library and tools under VMS
  341 contrib/xv	patches to XV version 2.00 to make it support TIFF
  342 		(XV is an X-based viewer from John Bradley)
  343 
  344 Don't send me mail asking about these programs.  Send questions
  345 and/or bug reports directly to the authors.
  346 
  347 DOCUMENTATION:
  348 -------------
  349 A copy of the 5.0 spec is included in the doc directory.  This document
  350 was obtained by Bill Johnston of LBL who retrieved it from simtel20. 
  351 Beware that the document has been modified slightly from the original
  352 version to enhance printability.  We've tried to be very careful in making
  353 any changes, but there's always the possibility of mistakes being
  354 introduced.
  355 
  356 Another document describes a proposed addition to TIFF 6.0 for Associated
  357 Alpha data (i.e. what is now the Matteing tag).
  358 
  359 TEST IMAGES:
  360 -----------
  361 Test images are available for most formats supported by the library.
  362 The images are kept in a separate archive that should be located along
  363 with this software.  If the archive that you retrieve was v3.0.tar.Z,
  364 then the images should be in the same directory in an archive named
  365 v3.0pics.tar.Z.
  366 
  367 BUILDING THE SOFTWARE
  368 ---------------------
  369 The software, as distributed, is setup for building the software on an
  370 SGI machine (release 4.0.1 if you care).  To configure things for your
  371 machine, check for Makefiles in the libtiff and tools directories for
  372 your machine:
  373 
  374     Makefile.aix	Makefile for an IBM RS/6000 running AIX
  375     Makefile.apollo	Makefile for an Apollo
  376     Makefile.hpux	Makefile for HP machines running HP-UX
  377     Makefile.mips	Makefile for a MIPS running MIPS OS 2.?
  378     Makefile.next	Makefile for a NeXT
  379     Makefile.sgi	Makefile for a VGX, GT, GTX, or Personal Iris
  380     Makefile.sun	Makefile for a Sun-3 or Sun-4 running SunOS 3.5+
  381     Makefile.tahoe	Makefile for a TAHOE running 4.3BSD
  382     Makefile.vax	Makefile for a VAX running 4.3BSD
  383 
  384 If your machine is not represented, you'll have to make up a Makefile
  385 that is right for you.  In libtiff the important things to setup are
  386 
  387     AR=/usr/bin/ar			whatever your library archiver is called
  388     RANLIB=/usr/bin/ranlib		if you need to ranlib a library
  389     IPATH=-I. -I/usr/include/bsd	list of directories to search includes
  390     CONF=....				configuring optional support
  391 
  392 To build the library, just
  393 	cd libtiff; make
  394 
  395 In the tools directory, you'll want to setup the MACHALL macro,
  396 
  397 	MACHALL=ras2tiff tiffgt tiffsv
  398 
  399 and add definitions for how to build tiffgt and tiffsv for your machine
  400 (if appropriate).  Note also that for building the fax2tiff program, the
  401 CONF_LIBRARY macro in the Makefile MUST agree with the definition in the
  402 Makefile in the libtiff directory!  If this is not true, then fax2tiff
  403 will not work.
  404 
  405 To build the tools library, just
  406 	cd ../tools; make
  407 
  408 CHECKING OUT THE SOFTWARE
  409 -------------------------
  410 Assuming you have working versions of tiffgt and tiffsv, you can just
  411 use them to view any of the sample images  (the list is given below).
  412 Otherwise, you can check out the operation of the library with tiffcp
  413 and tiffcmp. For example,
  414 
  415 	tiffcp -lzw cramps.tif x.tif
  416 	tiffcmp cramps.tif x.tif
  417 
  418 (tiffcmp should be silent if the files compare correctly).
  419 
  420 BUGS AND SUCH....
  421 -----------------
  422 This software is free.  The only thing that I ask in return is that you
  423 tell me when you find a problem or fix a bug.  I also gladly accept
  424 software contributions, although I hesitate to include such software in
  425 my regular stuff if I am personally unable to test it.
  426 
  427 There is a mailing list associated with the software,
  428 tiff@ucbvax.berkeley.edu, that you can join by sending a message to
  429 tiff-request@ucbvax.berkeley.edu.  You can also reach me directly at
  430 sam@sgi.com.
  431 
  432 ACKNOWLEDGEMENTS
  433 ----------------
  434 The LZW algorithm is derived from the compress program (the proper
  435 attribution is included in the source code).  The Group 3 fax stuff
  436 originated as code from Jef Poskanzer, but has since been rewritten
  437 several times.  The latest version uses an algorithm from Michael
  438 Marking -- consult libtiff/mkg3states.c for further information.
  439 Many other people have, by now, helped with bug fixes and code.
  440 
  441 WARNING
  442 -------
  443 It appears that Unisys is actively pursuing copyright control on the
  444 LZW compression algorithm.  In particular, users of the LZW compression
  445 within the TIFF framework.  For this reason the TIFF 6.0 spec will
  446 state that LZW compression is not recommended.  It is unclear at this
  447 time what compression algorithm will be used in place of it.  I have
  448 no idea what this means to you or to this library.  I make no warranty
  449 or guarantees with regard to the LZW support in this library.
  450 
  451 FILE CONTENTS
  452 -------------
  453 At least the following files are included in the distribution:
  454 
  455 libtiff/prototypes.h		stuff for ANSI function prototypes
  456 libtiff/tiff.h			TIFF spec definitions
  457 libtiff/tiffio.h		public TIFF library definitions
  458 libtiff/tiffioP.h		private TIFF library definitions
  459 libtiff/tiffcompat.h		UNIX-compatibility definitions
  460 libtiff/t4.h			CCITT Group 3 1d code tables+definitions
  461 libtiff/tif_fax3.h		CCITT Group 3-related definitions
  462 
  463 libtiff/tif_aux.c		auxilary directory-related functions
  464 libtiff/tif_ccittrle.c		CCITT 1d Huffman compression
  465 libtiff/tif_compat.c		OS-related compatibility stuff
  466 libtiff/tif_compress.c		list of supported compression algorithms
  467 libtiff/tif_dir.c		directory tag interface code
  468 libtiff/tif_dirinfo.c		directory known tag support code
  469 libtiff/tif_dirread.c		directory reading code
  470 libtiff/tif_dirwrite.c		directory writing code
  471 libtiff/tif_dumpmode.c		"no" compression algorithm
  472 libtiff/tif_fax3.c		CCITT Group 3 fax compression
  473 libtiff/tif_fax4.c		CCITT Group 4 fax compression
  474 libtiff/tif_getimage.c		code to read an entire image into an RGBA raster
  475 libtiff/tif_jpeg.c		JPEG compression placeholder
  476 libtiff/tif_lzw.c		LZW encoding and decoding
  477 libtiff/tif_next.c		NeXT 2-bit decoding algorithm (no encoding)
  478 libtiff/tif_machdep.c		machine/architecture-specific code
  479 libtiff/tif_open.c		open and simply query code
  480 libtiff/tif_packbits.c		Packbits encoding and decoding
  481 libtiff/tif_print.c		directory printing support
  482 libtiff/tif_swab.c		byte and bit swapping support
  483 libtiff/tif_strip.c		some strip-related code
  484 libtiff/tif_thunder.c		Thunderscan decoding (no encoding)
  485 libtiff/tif_tile.c		some tile-related code
  486 libtiff/mkg3states.c		program to generate G3 decoding state tables
  487 libtiff/mkspans.c		program to generate black-white span tables
  488 
  489 tools/getopt.c		public domain getopt from Berkeley used by tools
  490 tools/fax2tiff.c	convert raw facsimile data to TIFF
  491 tools/gif2tiff.c	convert GIF87 file to TIFF
  492 tools/pal2rgb.c		convert TIFF Palette image to TIFF RGB
  493 tools/ppm2tiff.c	convert PPM image file to TIFF
  494 tools/ras2tiff.c	convert Sun rasterfile format to TIFF (limited)
  495 tools/rgb2ybcr.c	convert TIFF to YCbCr TIFF
  496 tools/sgi2tiff.c	convert SGI image file to TIFF
  497 tools/sgigt.c		TIFF picture get for SGI framebuffer (uses GL)
  498 tools/sgisv.c		save image on SGI framebuffer in TIFF file
  499 tools/tiff2bw.c		convert color TIFF file to B&W
  500 tools/tiff2ps.c		convert TIFF to PostScript
  501 tools/tiffcmp.c		compare two TIFF files
  502 tools/tiffcp.c		copy/convert TIFF files (used to change compression)
  503 tools/tiffdither.c	dither grayscale to bilevel
  504 tools/tiffdump.c	dump TIFF header and directory tags w/o library
  505 tools/tiffinfo.c	print info about TIFF file(s)
  506 tools/tiffmedian.c	median cut RGB -> palette conversion program
  507 tools/tiffsplit.c	split a multi-page TIFF into single-page TIFFs
  508 tools/ycbcr.c		RGB->YCbCr->RGB test program
  509 
  510 doc/5.0spec		raw text version of TIFF 5.0 spec
  511 doc/ClassF.txt		raw text version of current Class F (fax) document
  512 doc/alpha.ps		PostScript version of proposed TIFF 6.0 appendix
  513 doc/extra.ps		PostScript version of proposed TIFF 6.0 tag
  514 doc/TIFF6.ps		PostScript version of 1st draft of TIFF 6.0 spec
  515 
  516 man/man1		UNIX manual pages for tools
  517 man/man3		UNIX manual pages for libtiff functions