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-&libtiff-version;.tar.gz">
|
---|
8 | <!ENTITY libtiff-download-ftp "ftp://ftp.remotesensing.org/pub/libtiff/tiff-&libtiff-version;.tar.gz">
|
---|
9 | <!ENTITY libtiff-size "1.2 MB">
|
---|
10 | <!ENTITY libtiff-buildsize "15.6 MB">
|
---|
11 | <!ENTITY libtiff-time "0.41 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="libtiff" xreflabel="libtiff-&libtiff-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="libtiff.html"?>
|
---|
20 | <title>libtiff-&libtiff-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to <application>libtiff</application></title>
|
---|
24 |
|
---|
25 | <para>The <application>libtiff</application> package contains the
|
---|
26 | <acronym>TIFF</acronym> libraries and associated utilities. The libraries are
|
---|
27 | used by many programs for reading and writing <acronym>TIFF</acronym> files
|
---|
28 | and the utilities are useful for general work with
|
---|
29 | <acronym>TIFF</acronym> 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 | <itemizedlist spacing="compact">
|
---|
47 | <listitem><para>Required Patch: <ulink
|
---|
48 | url="&patch-root;/tiff-&libtiff-version;-libtool_fix-1.patch"/></para>
|
---|
49 | </listitem>
|
---|
50 | </itemizedlist>
|
---|
51 | </sect3>
|
---|
52 |
|
---|
53 | <sect3><title><application>libtiff</application> dependencies</title>
|
---|
54 | <sect4><title>Optional</title>
|
---|
55 | <para><xref linkend="libjpeg"/>,
|
---|
56 | X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>) and <ulink
|
---|
57 | url="http://www.opengl.org/resources/libraries/glut/glut_downloads.html">GLUT</ulink>
|
---|
58 | </para>
|
---|
59 | </sect4>
|
---|
60 | </sect3>
|
---|
61 |
|
---|
62 | </sect2>
|
---|
63 |
|
---|
64 | <sect2>
|
---|
65 | <title>Installation of <application>libtiff</application></title>
|
---|
66 |
|
---|
67 | <!-- <para>If you wish to allow the creation of compressed
|
---|
68 | <acronym>TIFF</acronym> images, download the <acronym>LZW</acronym>
|
---|
69 | Compression Kit and copy the provided <filename>tif_lzw.c</filename>
|
---|
70 | file to the <filename class="directory">libtiff</filename> subdirectory
|
---|
71 | of the <application>libtiff</application> source tree.</para> -->
|
---|
72 |
|
---|
73 | <para>Install <application>libtiff</application> by running the following
|
---|
74 | commands:</para>
|
---|
75 |
|
---|
76 | <screen><userinput><command>patch -Np1 -i ../tiff-&libtiff-version;-libtool_fix-1.patch &&
|
---|
77 | ./configure --prefix=/usr --disable-jpeg &&
|
---|
78 | make &&
|
---|
79 | make install</command></userinput></screen>
|
---|
80 |
|
---|
81 | </sect2>
|
---|
82 |
|
---|
83 | <sect2>
|
---|
84 | <title>Command explanations</title>
|
---|
85 |
|
---|
86 | <!-- <para><option>-noninteractive</option>: This switch is used to
|
---|
87 | avoid the configuration routine asking for confirmation of the
|
---|
88 | installation directories (which is passed to
|
---|
89 | <command>configure</command>).</para>
|
---|
90 |
|
---|
91 | <para><parameter>-with-DIR_MAN=/usr/share/man</parameter>: This is used
|
---|
92 | because even though <parameter>-prefix=/usr</parameter> is specified, the
|
---|
93 | <command>configure</command> routine tries to install the man pages in
|
---|
94 | <filename class="directory">/usr/local/man</filename> instead of the correct
|
---|
95 | place.</para>
|
---|
96 |
|
---|
97 | <para><parameter>-with-ZIP=yes -with-DIR_GZLIB=/usr/lib</parameter>: This
|
---|
98 | enables support for the handling of <acronym>TIFF</acronym> images with
|
---|
99 | deflate-encoded data.</para>
|
---|
100 |
|
---|
101 | <para><option>-with-JPEG=yes -with-DIR_JPEGLIB=/usr/lib</option>: Use
|
---|
102 | these switches to enable support for the handling of <acronym>TIFF</acronym>
|
---|
103 | images with <acronym>JPEG</acronym>-encoded data.</para> -->
|
---|
104 |
|
---|
105 | <para><option>--disable-jpeg</option>: Remove this parameter to enable
|
---|
106 | support for handling <acronym>TIFF</acronym> images with
|
---|
107 | <acronym>JPEG</acronym>-encoded data.</para>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <!-- <sect2>
|
---|
112 | <title>Configuring <application>libtiff</application></title>
|
---|
113 |
|
---|
114 | <sect3><title>Configuration Information</title>
|
---|
115 |
|
---|
116 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
117 |
|
---|
118 | </sect3>
|
---|
119 |
|
---|
120 | </sect2> -->
|
---|
121 |
|
---|
122 | <sect2>
|
---|
123 | <title>Contents</title>
|
---|
124 |
|
---|
125 | <para>The <application>libtiff</application> package contains
|
---|
126 | <command>bmp2tiff</command>,
|
---|
127 | <command>fax2ps</command>,
|
---|
128 | <command>fax2tiff</command>,
|
---|
129 | <command>gif2tiff</command>,
|
---|
130 | <command>pal2rgb</command>,
|
---|
131 | <command>ppm2tiff</command>,
|
---|
132 | <command>ras2tiff</command>,
|
---|
133 | <command>raw2tiff</command>,
|
---|
134 | <command>rgb2ycbcr</command>,
|
---|
135 | <command>thumbnail</command>,
|
---|
136 | <command>tiff2bw</command>,
|
---|
137 | <command>tiff2pdf</command>,
|
---|
138 | <command>tiff2ps</command>,
|
---|
139 | <command>tiff2rgba</command>,
|
---|
140 | <command>tiffcmp</command>,
|
---|
141 | <command>tiffcp</command>,
|
---|
142 | <command>tiffdither</command>,
|
---|
143 | <command>tiffdump</command>,
|
---|
144 | <command>tiffgt</command>,
|
---|
145 | <command>tiffinfo</command>,
|
---|
146 | <command>tiffmedian</command>,
|
---|
147 | <command>tiffset</command>,
|
---|
148 | <command>tiffsplit</command> and
|
---|
149 | <filename class="libraryfile">libtiff</filename> libraries.</para>
|
---|
150 |
|
---|
151 | </sect2>
|
---|
152 |
|
---|
153 | <sect2><title>Description</title>
|
---|
154 |
|
---|
155 | <sect3><title>bmp2tiff</title>
|
---|
156 | <para><command>bmp2tiff</command> converts a Microsoft Windows Device
|
---|
157 | Independent Bitmap image file to a <acronym>TIFF</acronym> image.</para></sect3>
|
---|
158 |
|
---|
159 | <sect3><title>fax2ps</title>
|
---|
160 | <para><command>fac2ps</command> converts a <acronym>TIFF</acronym>
|
---|
161 | facsimile to compressed PostScript file.</para></sect3>
|
---|
162 |
|
---|
163 | <sect3><title>fax2tiff</title>
|
---|
164 | <para><command>fax2tiff</command> creates a <acronym>TIFF</acronym>
|
---|
165 | Class F fax file from raw fax data.</para></sect3>
|
---|
166 |
|
---|
167 | <sect3><title>gif2tiff</title>
|
---|
168 | <para><command>gif2tiff</command> creates a <acronym>TIFF</acronym> file
|
---|
169 | from a <acronym>GIF87</acronym> format image file.</para></sect3>
|
---|
170 |
|
---|
171 | <sect3><title>pal2rgb</title>
|
---|
172 | <para><command>pal2rgb</command> converts a palette color
|
---|
173 | <acronym>TIFF</acronym> image to a full color image.</para></sect3>
|
---|
174 |
|
---|
175 | <sect3><title>ppm2tiff</title>
|
---|
176 | <para><command>ppm2tiff</command> creates a <acronym>TIFF</acronym> file
|
---|
177 | from a <acronym>PPM</acronym> image file.</para></sect3>
|
---|
178 |
|
---|
179 | <sect3><title>ras2tiff</title>
|
---|
180 | <para><command>ras2tiff</command> creates a <acronym>TIFF</acronym> file
|
---|
181 | from a Sun rasterfile.</para></sect3>
|
---|
182 |
|
---|
183 | <sect3><title>raw2tiff</title>
|
---|
184 | <para><command>raw2tiff</command> converts a raw byte sequence into
|
---|
185 | <acronym>TIFF</acronym>.</para></sect3>
|
---|
186 |
|
---|
187 | <sect3><title>rgb2ycbcr</title>
|
---|
188 | <para><command>rgb2ycbcr</command> converts non-YCbCr
|
---|
189 | <acronym>TIFF</acronym> images to a YCbCr <acronym>TIFF</acronym>
|
---|
190 | image.</para></sect3>
|
---|
191 |
|
---|
192 | <sect3><title>thumbnail</title>
|
---|
193 | <para><command>thumbnail</command> creates a <acronym>TIFF</acronym>
|
---|
194 | file with thumbnail images.</para></sect3>
|
---|
195 |
|
---|
196 | <sect3><title>tiff2bw</title>
|
---|
197 | <para><command>tiff2bw</command> converts a color
|
---|
198 | <acronym>TIFF</acronym> image to grayscale.</para></sect3>
|
---|
199 |
|
---|
200 | <sect3><title>tiff2pdf</title>
|
---|
201 | <para><command>tiff2pdf</command> converts a <acronym>TIFF</acronym>
|
---|
202 | image to a <acronym>PDF</acronym> document.</para></sect3>
|
---|
203 |
|
---|
204 | <sect3><title>tiff2ps</title>
|
---|
205 | <para><command>tiff2ps</command> converts a <acronym>TIFF</acronym>
|
---|
206 | image to a PostScript file.</para></sect3>
|
---|
207 |
|
---|
208 | <sect3><title>tiff2rgba</title>
|
---|
209 | <para><command>tiff2rgba</command> converts a wide variety of
|
---|
210 | <acronym>TIFF</acronym> images into an <acronym>RGBA</acronym>
|
---|
211 | <acronym>TIFF</acronym> image.</para></sect3>
|
---|
212 |
|
---|
213 | <sect3><title>tiffcmp</title>
|
---|
214 | <para><command>tiffcmp</command> compares two <acronym>TIFF</acronym>
|
---|
215 | files.</para></sect3>
|
---|
216 |
|
---|
217 | <sect3><title>tiffcp</title>
|
---|
218 | <para><command>tiffcp</command> copies (and possibly converts) a
|
---|
219 | <acronym>TIFF</acronym> file.</para></sect3>
|
---|
220 |
|
---|
221 | <sect3><title>tiffdither</title>
|
---|
222 | <para><command>tiffdither</command> converts a grayscale image to
|
---|
223 | bilevel using dithering.</para></sect3>
|
---|
224 |
|
---|
225 | <sect3><title>tiffdump</title>
|
---|
226 | <para><command>tiffdump</command> prints verbatim information about
|
---|
227 | <acronym>TIFF</acronym> files.</para></sect3>
|
---|
228 |
|
---|
229 | <sect3><title>tiffgt</title>
|
---|
230 | <para><command>tiffgt</command> displays an image stored in a
|
---|
231 | <acronym>TIFF</acronym> file in an <application>X</application>
|
---|
232 | window.</para></sect3>
|
---|
233 |
|
---|
234 | <sect3><title>tiffinfo</title>
|
---|
235 | <para><command>tiffinfo</command> prints information about
|
---|
236 | <acronym>TIFF</acronym> files.</para></sect3>
|
---|
237 |
|
---|
238 | <sect3><title>tiffmedian</title>
|
---|
239 | <para><command>tiffmedian</command> applies the median cut algorithm to
|
---|
240 | data in a <acronym>TIFF</acronym> file.</para></sect3>
|
---|
241 |
|
---|
242 | <sect3><title>tiffsplit</title>
|
---|
243 | <para><command>tiffsplit</command> splits a multi-image
|
---|
244 | <acronym>TIFF</acronym> into single-image <acronym>TIFF</acronym>
|
---|
245 | files.</para></sect3>
|
---|
246 |
|
---|
247 | <sect3><title>libtiff libraries</title>
|
---|
248 | <para>The libtiff libraries are used by many programs to read and write
|
---|
249 | <acronym>TIFF</acronym> files.</para></sect3>
|
---|
250 |
|
---|
251 | </sect2>
|
---|
252 |
|
---|
253 | </sect1>
|
---|
254 |
|
---|