| 1 |
TIFF Tools Overview |
| 2 |
=================== |
| 3 |
|
| 4 |
.. image:: images/quad.jpg |
| 5 |
:width: 144 |
| 6 |
:alt: quad |
| 7 |
|
| 8 |
This software distribution comes with a small collection of |
| 9 |
programs for converting non-TIFF format images to TIFF and for |
| 10 |
manipulating and interrogating the contents of TIFF images. Several |
| 11 |
of these tools are useful in their own right. Many of them however |
| 12 |
are more intended to serve as programming examples for using the |
| 13 |
TIFF library. |
| 14 |
|
| 15 |
Manual pages |
| 16 |
------------ |
| 17 |
|
| 18 |
.. toctree:: |
| 19 |
:maxdepth: 1 |
| 20 |
:titlesonly: |
| 21 |
|
| 22 |
tools/fax2ps |
| 23 |
tools/fax2tiff |
| 24 |
tools/pal2rgb |
| 25 |
tools/ppm2tiff |
| 26 |
tools/raw2tiff |
| 27 |
tools/rgb2ycbcr |
| 28 |
tools/thumbnail |
| 29 |
tools/tiff2bw |
| 30 |
tools/tiff2pdf |
| 31 |
tools/tiff2ps |
| 32 |
tools/tiff2rgba |
| 33 |
tools/tiffcmp |
| 34 |
tools/tiffcp |
| 35 |
tools/tiffcrop |
| 36 |
tools/tiffdither |
| 37 |
tools/tiffdump |
| 38 |
tools/tiffgt |
| 39 |
tools/tiffinfo |
| 40 |
tools/tiffmedian |
| 41 |
tools/tiffset |
| 42 |
tools/tiffsplit |
| 43 |
|
| 44 |
Device-dependent Programs |
| 45 |
------------------------- |
| 46 |
|
| 47 |
There are two device-dependent programs that serve as simple |
| 48 |
examples for writing programs to display and save TIFF images. |
| 49 |
|
| 50 |
.. list-table:: Device-dependent programs |
| 51 |
:widths: 5 20 |
| 52 |
:header-rows: 1 |
| 53 |
|
| 54 |
* - Tool |
| 55 |
- Description |
| 56 |
|
| 57 |
* - :doc:`tools/tiffgt` |
| 58 |
- Display the contents of one or more TIFF images using OpenGL. |
| 59 |
The software makes extensive use of the ``TIFFRGBAImage`` |
| 60 |
facilities described elsewhere. |
| 61 |
|
| 62 |
Device-independent Programs |
| 63 |
--------------------------- |
| 64 |
|
| 65 |
The remaining programs should be device-independent: |
| 66 |
|
| 67 |
.. list-table:: Device-dependent programs |
| 68 |
:widths: 5 20 |
| 69 |
:header-rows: 1 |
| 70 |
|
| 71 |
* - Tool |
| 72 |
- Description |
| 73 |
|
| 74 |
* - :doc:`tools/fax2ps` |
| 75 |
- Convert a Group 3- or Group 4- compressed TIFF to PostScript |
| 76 |
that is significantly more compressed than is generated by |
| 77 |
:program:`tiff2ps` (unless :program:`tiff2ps` writes PS Level II) |
| 78 |
|
| 79 |
* - :doc:`tools/fax2tiff` |
| 80 |
- Convert raw Group 3 or Group 4 facsimile data to TIFF |
| 81 |
|
| 82 |
* - :doc:`tools/pal2rgb` |
| 83 |
- Convert a Palette-style image to a full color RGB image by |
| 84 |
applying the colormap |
| 85 |
|
| 86 |
* - :doc:`tools/ppm2tiff` |
| 87 |
- A quick hack that converts 8-bit PPM format images to TIFF |
| 88 |
|
| 89 |
* - :doc:`tools/raw2tiff` |
| 90 |
- Create a TIFF file from raw data |
| 91 |
|
| 92 |
* - :doc:`tools/rgb2ycbcr` |
| 93 |
- Convert an RGB, grayscale, or bilevel TIFF image to a YCbCr |
| 94 |
TIFF image; it's mainly provided for testing |
| 95 |
|
| 96 |
* - :doc:`tools/thumbnail` |
| 97 |
- Copy a bilevel TIFF to one that includes 8-bit greyscale |
| 98 |
"thumbnail images" for each page; it is provided as an example of |
| 99 |
how one might use the ``SubIFD`` tag (and the library support |
| 100 |
for it) |
| 101 |
|
| 102 |
* - :doc:`tools/tiff2bw` |
| 103 |
- A simple program to convert a color image to grayscale |
| 104 |
|
| 105 |
* - :doc:`tools/tiff2pdf` |
| 106 |
- Convert TIFF images to PDF |
| 107 |
|
| 108 |
* - :doc:`tools/tiff2ps` |
| 109 |
- Convert TIFF images to PostScript |
| 110 |
|
| 111 |
* - :doc:`tools/tiff2rgba` |
| 112 |
- Convert a TIFF image to RGBA color space |
| 113 |
|
| 114 |
* - :doc:`tools/tiffcmp` |
| 115 |
- Compare the contents of two TIFF files (it does not check all |
| 116 |
the directory information, but does check all the data) |
| 117 |
|
| 118 |
* - :doc:`tools/tiffcp` |
| 119 |
- Copy, concatenate, and convert TIFF images (e.g. switching from |
| 120 |
``Compression=5`` to ``Compression=1``) |
| 121 |
|
| 122 |
* - :doc:`tools/tiffcrop` |
| 123 |
- Provides selection of images from within one or more multi-image |
| 124 |
TIFF files, with orthogonal rotation, mirroring, cropping, and |
| 125 |
extraction of multiple sections and exporting to one or more files. |
| 126 |
It extends the functionality of :program:`tiffcp` to support additional bit |
| 127 |
depths in strips and tiles and enhances the selection capabilities of |
| 128 |
tiffsplit. Bilevel images can be inverted and images may be split into |
| 129 |
segments to fit on multiple /pages/ (standard paper sizes), plus other |
| 130 |
functions described in the tiffcrop man page |
| 131 |
|
| 132 |
* - :doc:`tools/tiffdither` |
| 133 |
- Dither a b&w image into a bilevel image (suitable for use |
| 134 |
in creating fax files) |
| 135 |
|
| 136 |
* - :doc:`tools/tiffdump` |
| 137 |
- Display the verbatim contents of the TIFF directory in a file |
| 138 |
(it's very useful for debugging bogus files that you may get from |
| 139 |
someone that claims they support TIFF) |
| 140 |
|
| 141 |
* - :doc:`tools/tiffinfo` |
| 142 |
- Display information about one or more TIFF files |
| 143 |
|
| 144 |
* - :doc:`tools/tiffmedian` |
| 145 |
- A version of Paul Heckbert's median cut program that reads an |
| 146 |
RGB TIFF image, and creates a TIFF palette file as a result |
| 147 |
|
| 148 |
* - :doc:`tools/tiffset` |
| 149 |
- Set a field in a TIFF header |
| 150 |
|
| 151 |
* - :doc:`tools/tiffsplit` |
| 152 |
- Create one or more single-image files from a (possibly) |
| 153 |
multi-image file |
| 154 |
|
| 155 |
Check out the manual pages for details about the above programs. |