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