1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY libtiff-download-http "http://libtiff.maptools.org/dl/tiff-v&libtiff-version;.tar.gz">
|
---|
8 | <!ENTITY libtiff-download-ftp " ">
|
---|
9 | <!ENTITY libtiff-size "1.1 MB">
|
---|
10 | <!ENTITY libtiff-buildsize "11 MB">
|
---|
11 | <!ENTITY libtiff-time "0.16 SBU">
|
---|
12 |
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libtiff" xreflabel="libtiff-&libtiff-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="libtiff.html"?>
|
---|
21 | <title>libtiff-&libtiff-version;</title>
|
---|
22 |
|
---|
23 | <sect2>
|
---|
24 | <title>Introduction to <application>libtiff</application></title>
|
---|
25 |
|
---|
26 | <para>The <application>libtiff</application> package contains the tiff libraries and associated
|
---|
27 | utilities. The libraries are used by many programs for reading and
|
---|
28 | writing tiff files and the utilities are useful for general work with
|
---|
29 | tiff files.</para>
|
---|
30 |
|
---|
31 | <sect3><title>Package information</title>
|
---|
32 | <itemizedlist spacing='compact'>
|
---|
33 | <listitem><para>Download (HTTP): <ulink url="&libtiff-download-http;"/></para></listitem>
|
---|
34 | <listitem><para>Download (FTP): <ulink url="&libtiff-download-ftp;"/></para></listitem>
|
---|
35 | <listitem><para>Download size: &libtiff-size;</para></listitem>
|
---|
36 | <listitem><para>Estimated Disk space required: &libtiff-buildsize;</para></listitem>
|
---|
37 | <listitem><para>Estimated build time: &libtiff-time;</para></listitem></itemizedlist>
|
---|
38 | </sect3>
|
---|
39 |
|
---|
40 | <sect3><title>Additional downloads</title>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem><para>LZW compression support: <ulink
|
---|
43 | url="ftp://ftp.remotesensing.org/libtiff/libtiff-lzw-compression-kit-1.5.tar.gz"/></para></listitem>
|
---|
44 | </itemizedlist></sect3>
|
---|
45 |
|
---|
46 | <sect3><title><application>libtiff</application> dependencies</title>
|
---|
47 | <sect4><title>Optional</title>
|
---|
48 | <para><xref linkend="libjpeg"/>
|
---|
49 | </para></sect4>
|
---|
50 | </sect3>
|
---|
51 |
|
---|
52 | </sect2>
|
---|
53 |
|
---|
54 | <sect2>
|
---|
55 | <title>Installation of <application>libtiff</application></title>
|
---|
56 |
|
---|
57 | <para>If you wish to allow the creation of compressed
|
---|
58 | <acronym>TIFF</acronym> images, download the <acronym>LZW</acronym>
|
---|
59 | Compression Kit and copy the provided <filename>tif_lzw.c</filename>
|
---|
60 | file to the <filename class="directory">libtiff</filename> subdirectory
|
---|
61 | of the <application>libtiff</application> source tree.</para>
|
---|
62 |
|
---|
63 | <para>Install <application>libtiff</application> by running the following commands:</para>
|
---|
64 |
|
---|
65 | <screen><userinput><command>./configure --prefix=/usr --noninteractive \
|
---|
66 | --with-DIR_MAN=/usr/share/man \
|
---|
67 | --with-ZIP=yes --with-DIR_GZLIB=/usr/lib &&
|
---|
68 | make &&
|
---|
69 | make install</command></userinput></screen>
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 | <sect2>
|
---|
74 | <title>Command explanations</title>
|
---|
75 |
|
---|
76 | <para><option>--noninteractive</option>: This switch is used to
|
---|
77 | avoid the configuration routine asking for confirmation of the
|
---|
78 | installation directories (which is passed to
|
---|
79 | <command>configure</command>).</para>
|
---|
80 |
|
---|
81 | <para><parameter>--with-DIR_MAN=/usr/share/man</parameter>: This is used
|
---|
82 | because even though <parameter>--prefix=/usr</parameter> is specified, the
|
---|
83 | <command>configure</command> routine tries to install the man pages in
|
---|
84 | <filename class="directory">/usr/local/man</filename> instead of the correct
|
---|
85 | place.</para>
|
---|
86 |
|
---|
87 | <para><parameter>--with-ZIP=yes --with-DIR_GZLIB=/usr/lib</parameter>: This
|
---|
88 | enables support for the handling of <acronym>TIFF</acronym> images with
|
---|
89 | deflate-encoded data.</para>
|
---|
90 |
|
---|
91 | <para><option>--with-JPEG=yes --with-DIR_JPEGLIB=/usr/lib</option>: Use
|
---|
92 | these switches to enable support for the handling of <acronym>TIFF</acronym>
|
---|
93 | images with <acronym>JPEG</acronym>-encoded data.</para>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2>
|
---|
98 | <title>Configuring <application>libtiff</application></title>
|
---|
99 |
|
---|
100 | <sect3><title>Configuration Information</title>
|
---|
101 |
|
---|
102 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
103 |
|
---|
104 | </sect3>
|
---|
105 |
|
---|
106 | </sect2>
|
---|
107 |
|
---|
108 | <sect2>
|
---|
109 | <title>Contents</title>
|
---|
110 |
|
---|
111 | <para>The libtiff package contains
|
---|
112 | <command>fax2ps</command>,
|
---|
113 | <command>fax2tiff</command>,
|
---|
114 | <command>gif2tiff</command>,
|
---|
115 | <command>pal2rgb</command>,
|
---|
116 | <command>ppm2tiff</command>,
|
---|
117 | <command>ras2tiff</command>,
|
---|
118 | <command>raw2tiff</command>,
|
---|
119 | <command>rgb2ycbcr</command>,
|
---|
120 | <command>thumbnail</command>,
|
---|
121 | <command>tiff2bw</command>,
|
---|
122 | <command>tiff2pdf</command>,
|
---|
123 | <command>tiff2ps</command>,
|
---|
124 | <command>tiff2rgba</command>,
|
---|
125 | <command>tiffcmp</command>,
|
---|
126 | <command>tiffcp</command>,
|
---|
127 | <command>tiffdither</command>,
|
---|
128 | <command>tiffdump</command>,
|
---|
129 | <command>tiffinfo</command>,
|
---|
130 | <command>tiffmedian</command>,
|
---|
131 | <command>tiffset</command>,
|
---|
132 | <command>tiffsplit</command> and
|
---|
133 | <filename class="libraryfile">libtiff</filename> libraries.</para>
|
---|
134 |
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <sect2><title>Description</title>
|
---|
138 |
|
---|
139 | <sect3><title>fax2ps</title>
|
---|
140 | <para><command>fac2ps</command> converts a <acronym>TIFF</acronym>
|
---|
141 | facsimile to compressed PostScript file.</para></sect3>
|
---|
142 |
|
---|
143 | <sect3><title>fax2tiff</title>
|
---|
144 | <para><command>fax2tiff</command> creates a <acronym>TIFF</acronym>
|
---|
145 | Class F fax file from raw fax data.</para></sect3>
|
---|
146 |
|
---|
147 | <sect3><title>gif2tiff</title>
|
---|
148 | <para><command>gif2tiff</command> creates a <acronym>TIFF</acronym> file
|
---|
149 | from a <acronym>GIF87</acronym> format image file.</para></sect3>
|
---|
150 |
|
---|
151 | <sect3><title>pal2rgb</title>
|
---|
152 | <para><command>pal2rgb</command> converts a palette color
|
---|
153 | <acronym>TIFF</acronym> image to a full color image.</para></sect3>
|
---|
154 |
|
---|
155 | <sect3><title>ppm2tiff</title>
|
---|
156 | <para><command>ppm2tiff</command> creates a <acronym>TIFF</acronym> file
|
---|
157 | from a <acronym>PPM</acronym> image file.</para></sect3>
|
---|
158 |
|
---|
159 | <sect3><title>ras2tiff</title>
|
---|
160 | <para><command>ras2tiff</command> creates a <acronym>TIFF</acronym> file
|
---|
161 | from a Sun rasterfile.</para></sect3>
|
---|
162 |
|
---|
163 | <sect3><title>raw2tiff</title>
|
---|
164 | <para><command>raw2tiff</command> converts a raw byte sequence into
|
---|
165 | <acronym>TIFF</acronym>.</para></sect3>
|
---|
166 |
|
---|
167 | <sect3><title>rgb2ycbcr</title>
|
---|
168 | <para><command>rgb2ycbcr</command> converts non-YCbCr
|
---|
169 | <acronym>TIFF</acronym> images to a YCbCr <acronym>TIFF</acronym>
|
---|
170 | image.</para></sect3>
|
---|
171 |
|
---|
172 | <sect3><title>thumbnail</title>
|
---|
173 | <para><command>thumbnail</command> creates a <acronym>TIFF</acronym>
|
---|
174 | file with thumbnail images.</para></sect3>
|
---|
175 |
|
---|
176 | <sect3><title>tiff2bw</title>
|
---|
177 | <para><command>tiff2bw</command> converts a color
|
---|
178 | <acronym>TIFF</acronym> image to grayscale.</para></sect3>
|
---|
179 |
|
---|
180 | <sect3><title>tiff2pdf</title>
|
---|
181 | <para><command>tiff2pdf</command> converts a <acronym>TIFF</acronym>
|
---|
182 | image to a <acronym>PDF</acronym> document.</para></sect3>
|
---|
183 |
|
---|
184 | <sect3><title>tiff2ps</title>
|
---|
185 | <para><command>tiff2ps</command> converts a <acronym>TIFF</acronym>
|
---|
186 | image to a PostScript file.</para></sect3>
|
---|
187 |
|
---|
188 | <sect3><title>tiff2rgba</title>
|
---|
189 | <para><command>tiff2rgba</command> converts a wide variety of
|
---|
190 | <acronym>TIFF</acronym> images into an <acronym>RGBA</acronym>
|
---|
191 | <acronym>TIFF</acronym> image.</para></sect3>
|
---|
192 |
|
---|
193 | <sect3><title>tiffcmp</title>
|
---|
194 | <para><command>tiffcmp</command> compares two <acronym>TIFF</acronym>
|
---|
195 | files.</para></sect3>
|
---|
196 |
|
---|
197 | <sect3><title>tiffcp</title>
|
---|
198 | <para><command>tiffcp</command> copies (and possibly converts) a
|
---|
199 | <acronym>TIFF</acronym> file.</para></sect3>
|
---|
200 |
|
---|
201 | <sect3><title>tiffdither</title>
|
---|
202 | <para><command>tiffdither</command> converts a grayscale image to
|
---|
203 | bilevel using dithering.</para></sect3>
|
---|
204 |
|
---|
205 | <sect3><title>tiffdump</title>
|
---|
206 | <para><command>tiffdump</command> prints verbatim information about
|
---|
207 | <acronym>TIFF</acronym> files.</para></sect3>
|
---|
208 |
|
---|
209 | <sect3><title>tiffinfo</title>
|
---|
210 | <para><command>tiffinfo</command> prints information about
|
---|
211 | <acronym>TIFF</acronym> files.</para></sect3>
|
---|
212 |
|
---|
213 | <sect3><title>tiffmedian</title>
|
---|
214 | <para><command>tiffmedian</command> applies the median cut algorithm to
|
---|
215 | data in a <acronym>TIFF</acronym> file.</para></sect3>
|
---|
216 |
|
---|
217 | <sect3><title>tiffsplit</title>
|
---|
218 | <para><command>tiffsplit</command> splits a multi-image
|
---|
219 | <acronym>TIFF</acronym> into single-image <acronym>TIFF</acronym>
|
---|
220 | files.</para></sect3>
|
---|
221 |
|
---|
222 | <sect3><title>tiff libraries</title>
|
---|
223 | <para>The tiff libraries are used by many programs to read and write
|
---|
224 | tiff files.</para></sect3>
|
---|
225 |
|
---|
226 | </sect2>
|
---|
227 |
|
---|
228 | </sect1>
|
---|
229 |
|
---|