xref: /libtiff-4.0.7/html/tools.html (revision 5d031f1f)
1cfa43016SBob Friesenhahn<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2cfa43016SBob Friesenhahn<html>
3cfa43016SBob Friesenhahn<head>
4cfa43016SBob Friesenhahn<meta name="generator" content=
5cfa43016SBob Friesenhahn"HTML Tidy for Solaris (vers 12 April 2005), see www.w3.org">
6cfa43016SBob Friesenhahn<title>TIFF Tools Overview</title>
7cfa43016SBob Friesenhahn</head>
8cfa43016SBob Friesenhahn<body bgcolor="white">
9cfa43016SBob Friesenhahn<h1><font face="Arial, Helvetica, Sans"><img src="images/quad.jpg"
10cfa43016SBob Friesenhahnwidth="144" height="108" align="left" border="1" hspace="6"> TIFF
11cfa43016SBob FriesenhahnTools Overview</font></h1>
12cfa43016SBob Friesenhahn<p>This software distribution comes with a small collection of
13cfa43016SBob Friesenhahnprograms for converting non-TIFF format images to TIFF and for
14a2a1911bSAndrey Kiselevmanipulating and interrogating the contents of TIFF images. Several
15cfa43016SBob Friesenhahnof these tools are useful in their own right. Many of them however
16cfa43016SBob Friesenhahnare more intended to serve as programming examples for using the
17cfa43016SBob FriesenhahnTIFF library.</p>
18cfa43016SBob Friesenhahn<h3>Device-dependent Programs</h3>
19cfa43016SBob FriesenhahnThere are two device-dependent programs that serve as simple
20cfa43016SBob Friesenhahnexamples for writing programs to display and save TIFF images.
21cfa43016SBob Friesenhahn<table border cellpadding="3">
22cfa43016SBob Friesenhahn<tr>
23cfa43016SBob Friesenhahn<td valign="top" width="10%">
24*5d031f1fSBob Friesenhahn<tt><a href="man/tiffgt.1.html">tiffgt</a>&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
25cfa43016SBob Friesenhahn<td>Display the contents of one or more TIFF images using OpenGL.
26cfa43016SBob FriesenhahnThe software makes extensive use of the <tt>TIFFRGBAImage</tt>
27cfa43016SBob Friesenhahnfacilities described elsewhere.</td>
28cfa43016SBob Friesenhahn</tr>
29cfa43016SBob Friesenhahn<tr>
30*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiffsv.1.html">tiffsv</a></tt></td>
31cfa43016SBob Friesenhahn<td>A program to save all or part of a screen dump on a Silicon
32cfa43016SBob FriesenhahnGraphics system. As for <tt>tiffgt</tt> this code, while written to
33cfa43016SBob Friesenhahnuse the IRIS GL, can be easily tailored to other devices.</td>
34cfa43016SBob Friesenhahn</tr>
35cfa43016SBob Friesenhahn</table>
36cfa43016SBob Friesenhahn<h3>Device-independent Programs</h3>
370ef31e1fSMike WellesThe remaining programs should be device-independent:
38cfa43016SBob Friesenhahn<table border cellpadding="3">
39cfa43016SBob Friesenhahn<tr>
40*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/bmp2tiff.1.html">bmp2tiff</a></tt></td>
41cfa43016SBob Friesenhahn<td>Convert BMP images to TIFF</td>
42cfa43016SBob Friesenhahn</tr>
43cfa43016SBob Friesenhahn<tr>
44*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/fax2ps.1.html">fax2ps</a></tt></td>
45cfa43016SBob Friesenhahn<td>Convert a Group 3- or Group 4- compressed TIFF to PostScript
46cfa43016SBob Friesenhahnthat is significantly more compressed than is generated by
47cfa43016SBob Friesenhahn<tt>tiff2ps</tt> (unless <tt>tiff2ps</tt> writes PS Level II)</td>
48cfa43016SBob Friesenhahn</tr>
49cfa43016SBob Friesenhahn<tr>
50*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/fax2tiff.1.html">fax2tiff</a></tt></td>
51cfa43016SBob Friesenhahn<td>Convert raw Group 3 or Group 4 facsimile data to TIFF</td>
52cfa43016SBob Friesenhahn</tr>
53cfa43016SBob Friesenhahn<tr>
54*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/gif2tiff.1.html">gif2tiff</a></tt></td>
55*5d031f1fSBob Friesenhahn<td>A quick hack that converts GIF 87a (old) format images to TIFF</td>
56cfa43016SBob Friesenhahn</tr>
57cfa43016SBob Friesenhahn<tr>
58*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/pal2rgb.1.html">pal2rgb</a></tt></td>
59cfa43016SBob Friesenhahn<td>Convert a Palette-style image to a full color RGB image by
60cfa43016SBob Friesenhahnapplying the colormap</td>
61cfa43016SBob Friesenhahn</tr>
62cfa43016SBob Friesenhahn<tr>
63*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/ppm2tiff.1.html">ppm2tiff</a></tt></td>
64*5d031f1fSBob Friesenhahn<td>A quick hack that converts 8-bit PPM format images to TIFF</td>
65cfa43016SBob Friesenhahn</tr>
66cfa43016SBob Friesenhahn<tr>
67*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/ras2tiff.1.html">ras2tiff</a></tt></td>
68cfa43016SBob Friesenhahn<td>A quick hack that converts Sun rasterfile format images to TIFF
69cfa43016SBob Friesenhahn-- it's less than complete</td>
70cfa43016SBob Friesenhahn</tr>
71cfa43016SBob Friesenhahn<tr>
72*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/raw2tiff.1.html">raw2tiff</a></tt></td>
73cfa43016SBob Friesenhahn<td>Create a TIFF file from raw data</td>
74cfa43016SBob Friesenhahn</tr>
75cfa43016SBob Friesenhahn<tr>
76*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/rgb2ycbcr.1.html">rgb2ycbcr</a></tt></td>
77cfa43016SBob Friesenhahn<td>Convert an RGB, grayscale, or bilevel TIFF image to a YCbCr
78cfa43016SBob FriesenhahnTIFF image; it's mainly provided for testing</td>
79cfa43016SBob Friesenhahn</tr>
80cfa43016SBob Friesenhahn<tr>
81*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/sgi2tiff.1.html">sgi2tiff</a></tt></td>
82cfa43016SBob Friesenhahn<td>A program to convert SGI image files to TIFF. This program is
83cfa43016SBob Friesenhahnonly useful on SGI machines as it uses <tt>-limage</tt>.</td>
84cfa43016SBob Friesenhahn</tr>
85cfa43016SBob Friesenhahn<tr>
86*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/thumbnail.1.html">thumbnail</a></tt></tt></td>
87cfa43016SBob Friesenhahn<td>Copy a bilevel TIFF to one that includes 8-bit greyscale
880ef31e1fSMike Welles"thumbnail images" for each page; it is provided as an example of
89cfa43016SBob Friesenhahnhow one might use the <tt>SubIFD</tt> tag (and the library support
90cfa43016SBob Friesenhahnfor it)</td>
91cfa43016SBob Friesenhahn</tr>
92cfa43016SBob Friesenhahn<tr>
93*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiff2bw.1.html">tiff2bw</a></tt></td>
94cfa43016SBob Friesenhahn<td>A simple program to convert a color image to grayscale</td>
95cfa43016SBob Friesenhahn</tr>
96cfa43016SBob Friesenhahn<tr>
97*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiff2pdf.1.html">tiff2pdf</a></tt></td>
98cfa43016SBob Friesenhahn<td>Convert TIFF images to PDF</td>
99cfa43016SBob Friesenhahn</tr>
100cfa43016SBob Friesenhahn<tr>
101*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiff2ps.1.html">tiff2ps</a></tt></td>
102cfa43016SBob Friesenhahn<td>Convert TIFF images to PostScript</td>
103cfa43016SBob Friesenhahn</tr>
104cfa43016SBob Friesenhahn<tr>
105*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiff2rgba.1.html">tiff2rgba</a></tt></td>
106cfa43016SBob Friesenhahn<td>Convert a TIFF image to RGBA color space</td>
107cfa43016SBob Friesenhahn</tr>
108cfa43016SBob Friesenhahn<tr>
109*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiffcmp.1.html">tiffcmp</a></tt></td>
110cfa43016SBob Friesenhahn<td>Compare the contents of two TIFF files (it does not check all
111cfa43016SBob Friesenhahnthe directory information, but does check all the data)</td>
112cfa43016SBob Friesenhahn</tr>
113cfa43016SBob Friesenhahn<tr>
114*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiffcp.1.html">tiffcp</a></tt></td>
115cfa43016SBob Friesenhahn<td>Copy, concatenate, and convert TIFF images (e.g. switching from
116cfa43016SBob FriesenhahnCompression=5 to Compression=1)</td>
117cfa43016SBob Friesenhahn</tr>
118cfa43016SBob Friesenhahn<tr>
119*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiffcrop.1.html">tiffcrop</a></tt></td>
120*5d031f1fSBob Friesenhahn<td>Provides selection of images from within one or more multi-image
121*5d031f1fSBob FriesenhahnTIFF files, with orthogonal rotation, mirroring, cropping, and
122*5d031f1fSBob Friesenhahnextraction of multiple sections and exporting to one or more files.
123*5d031f1fSBob FriesenhahnIt extends the functionality of tiffcp to support additional bit
124*5d031f1fSBob Friesenhahndepths in strips and tiles and enhances the selection capabilities of
125*5d031f1fSBob Friesenhahntiffsplit. Bilevel images can be inverted and images may be split into
126*5d031f1fSBob Friesenhahnsegments to fit on multiple /pages/ (standard paper sizes), plus other
127*5d031f1fSBob Friesenhahnfunctions described in the tiffcrop man page</td>
128*5d031f1fSBob Friesenhahn</tr>
129*5d031f1fSBob Friesenhahn<tr>
130*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiffdither.1.html">tiffdither</a></tt></td>
131cfa43016SBob Friesenhahn<td>Dither a b&amp;w image into a bilevel image (suitable for use
132cfa43016SBob Friesenhahnin creating fax files)</td>
133cfa43016SBob Friesenhahn</tr>
134cfa43016SBob Friesenhahn<tr>
135*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiffdump.1.html">tiffdump</a></tt></td>
136cfa43016SBob Friesenhahn<td>Display the verbatim contents of the TIFF directory in a file
137cfa43016SBob Friesenhahn(it's very useful for debugging bogus files that you may get from
138cfa43016SBob Friesenhahnsomeone that claims they support TIFF)</td>
139cfa43016SBob Friesenhahn</tr>
140cfa43016SBob Friesenhahn<tr>
141*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiffinfo.1.html">tiffinfo</a></tt></td>
142cfa43016SBob Friesenhahn<td>Display information about one or more TIFF files.</td>
143cfa43016SBob Friesenhahn</tr>
144cfa43016SBob Friesenhahn<tr>
145*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiffmedian.1.html">tiffmedian</a></tt></td>
146cfa43016SBob Friesenhahn<td>A version of Paul Heckbert's median cut program that reads an
147*5d031f1fSBob FriesenhahnRGB TIFF image, and creates a TIFF palette file as a result</td>
148cfa43016SBob Friesenhahn</tr>
149cfa43016SBob Friesenhahn<tr>
150*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiffset.1.html">tiffset</a></tt></td>
151cfa43016SBob Friesenhahn<td>Set a field in a TIFF header</td>
152cfa43016SBob Friesenhahn</tr>
153cfa43016SBob Friesenhahn<tr>
154*5d031f1fSBob Friesenhahn<td valign="top" width="10%"><tt><a href="man/tiffsplit.1.html">tiffsplit</a></tt></td>
155cfa43016SBob Friesenhahn<td>Create one or more single-image files from a (possibly)
156cfa43016SBob Friesenhahnmulti-image file</td>
157cfa43016SBob Friesenhahn</tr>
158cfa43016SBob Friesenhahn</table>
159cfa43016SBob Friesenhahn<p>Check out the manual pages for details about the above
160cfa43016SBob Friesenhahnprograms.</p>
161cfa43016SBob Friesenhahn<hr>
162*5d031f1fSBob FriesenhahnLast updated: $Date: 2009-10-28 22:13:37 $
163cfa43016SBob Friesenhahn</body>
164cfa43016SBob Friesenhahn</html>
165