source: general/graphlib/libtiff.xml@ c4ce9a83

10.0 10.1 11.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since c4ce9a83 was c4ce9a83, checked in by Xi Ruoyao <xry111@…>, 21 months ago

libtiff: zstd is now in LFS

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22642 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 14.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libtiff-download-http
8 "http://download.osgeo.org/libtiff/tiff-&libtiff-version;.tar.gz">
9<!-- <!ENTITY libtiff-download-ftp
10 "ftp://ftp.remotesensing.org/libtiff/tiff-&libtiff-version;.tar.gz">-->
11 <!ENTITY libtiff-download-ftp " ">
12 <!ENTITY libtiff-md5sum "2165e7aba557463acc0664e71a3ed424">
13 <!ENTITY libtiff-size "2.3 MB">
14 <!ENTITY libtiff-buildsize "15 MB (with tests)">
15 <!ENTITY libtiff-time "less than 0.1 SBU (with tests)">
16]>
17
18<sect1 id="libtiff" xreflabel="LibTIFF-&libtiff-version;">
19 <?dbhtml filename="libtiff.html"?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>LibTIFF-&libtiff-version;</title>
27
28 <indexterm zone="libtiff">
29 <primary sortas="a-LibTIFF">LibTIFF</primary>
30 </indexterm>
31
32 <sect2 role="package">
33 <title>Introduction to LibTIFF</title>
34
35 <para>
36 The <application>LibTIFF</application> package contains the TIFF
37 libraries and associated utilities. The libraries are used by many
38 programs for reading and writing TIFF files and the utilities are
39 used for general work with TIFF files.
40 </para>
41
42 &lfs90_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&libtiff-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&libtiff-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &libtiff-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &libtiff-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &libtiff-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &libtiff-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">LibTIFF Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
82 <xref linkend="cmake"/>
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="freeglut"/> (required for <command>tiffgt</command>),
88 <xref linkend="libjpeg"/>,
89 <xref linkend="libwebp"/>, and
90 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>
91 </para>
92
93 <para condition="html" role="usernotes">User Notes:
94 <ulink url="&blfs-wiki;/libtiff"/>
95 </para>
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of LibTIFF</title>
100
101 <para>
102 Install <application>LibTIFF</application> by running the following
103 commands:
104 </para>
105
106<!-- "build" exists in the source tree -->
107<screen><userinput>mkdir -p libtiff-build &amp;&amp;
108cd libtiff-build &amp;&amp;
109
110cmake -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/libtiff-&libtiff-version; \
111 -DCMAKE_INSTALL_PREFIX=/usr -G Ninja .. &amp;&amp;
112ninja</userinput></screen>
113
114 <para>
115 To test the results, issue: <command>ninja test</command>.
116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem>
120 user:
121 </para>
122
123<screen role="root"><userinput>ninja install</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Programs</segtitle>
132 <segtitle>Installed Libraries</segtitle>
133 <segtitle>Installed Directory</segtitle>
134
135 <seglistitem>
136 <seg>
137 fax2ps, fax2tiff, pal2rgb, ppm2tiff,
138 raw2tiff, tiff2bw, tiff2pdf, tiff2ps,
139 tiff2rgba, tiffcmp, tiffcp, tiffcrop, tiffdither, tiffdump, tiffgt,
140 tiffinfo, tiffmedian, tiffset and tiffsplit
141 </seg>
142 <seg>
143 libtiff.so and libtiffxx.so
144 </seg>
145 <seg>
146 /usr/share/doc/tiff-&libtiff-version;
147 </seg>
148 </seglistitem>
149 </segmentedlist>
150
151 <variablelist>
152 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
153 <?dbfo list-presentation="list"?>
154 <?dbhtml list-presentation="table"?>
155
156<!-- <varlistentry id="bmp2tiff">
157 <term><command>bmp2tiff</command></term>
158 <listitem>
159 <para>
160 converts a Microsoft Windows Device Independent Bitmap image
161 file to a TIFF image.
162 </para>
163 <indexterm zone="libtiff bmp2tiff">
164 <primary sortas="b-bmp2tiff">bmp2tiff</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry> -->
168
169 <varlistentry id="fax2ps">
170 <term><command>fax2ps</command></term>
171 <listitem>
172 <para>
173 converts a TIFF facsimile to compressed PostScript file.
174 </para>
175 <indexterm zone="libtiff fax2ps">
176 <primary sortas="b-fax2ps">fax2ps</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="fax2tiff">
182 <term><command>fax2tiff</command></term>
183 <listitem>
184 <para>
185 creates a TIFF Class F fax file from raw fax data.
186 </para>
187 <indexterm zone="libtiff fax2tiff">
188 <primary sortas="b-fax2tiff">fax2tiff</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193<!-- <varlistentry id="gif2tiff">
194 <term><command>gif2tiff</command></term>
195 <listitem>
196 <para>
197 creates a TIFF file from a GIF87 format image file.
198 </para>
199 <indexterm zone="libtiff gif2tiff">
200 <primary sortas="b-gif2tiff">gif2tiff</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry> -->
204
205 <varlistentry id="pal2rgb">
206 <term><command>pal2rgb</command></term>
207 <listitem>
208 <para>
209 converts a palette color TIFF image to a full color
210 image.
211 </para>
212 <indexterm zone="libtiff pal2rgb">
213 <primary sortas="b-pal2rgb">pal2rgb</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="ppm2tiff">
219 <term><command>ppm2tiff</command></term>
220 <listitem>
221 <para>
222 creates a TIFF file from a PPM image file.
223 </para>
224 <indexterm zone="libtiff ppm2tiff">
225 <primary sortas="b-ppm2tiff">ppm2tiff</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230<!-- <varlistentry id="ras2tiff">
231 <term><command>ras2tiff</command></term>
232 <listitem>
233 <para>
234 creates a TIFF file from a Sun rasterfile.
235 </para>
236 <indexterm zone="libtiff ras2tiff">
237 <primary sortas="b-ras2tiff">ras2tiff</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry> -->
241
242 <varlistentry id="raw2tiff">
243 <term><command>raw2tiff</command></term>
244 <listitem>
245 <para>
246 converts a raw byte sequence into TIFF.
247 </para>
248 <indexterm zone="libtiff raw2tiff">
249 <primary sortas="b-raw2tiff">raw2tiff</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254<!-- <varlistentry id="rgb2ycbcr">
255 <term><command>rgb2ycbcr</command></term>
256 <listitem>
257 <para>
258 converts non-YCbCr TIFF images to YCbCr TIFF images.
259 </para>
260 <indexterm zone="libtiff rgb2ycbcr">
261 <primary sortas="b-rgb2ycbcr">rgb2ycbcr</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="thumbnail">
267 <term><command>thumbnail</command></term>
268 <listitem>
269 <para>
270 creates a TIFF file with thumbnail images.
271 </para>
272 <indexterm zone="libtiff thumbnail">
273 <primary sortas="b-thumbnail">thumbnail</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry> -->
277
278 <varlistentry id="tiff2bw">
279 <term><command>tiff2bw</command></term>
280 <listitem>
281 <para>
282 converts a color TIFF image to grayscale.
283 </para>
284 <indexterm zone="libtiff tiff2bw">
285 <primary sortas="b-tiff2bw">tiff2bw</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry id="tiff2pdf">
291 <term><command>tiff2pdf</command></term>
292 <listitem>
293 <para>
294 converts a TIFF image to a PDF document.
295 </para>
296 <indexterm zone="libtiff tiff2pdf">
297 <primary sortas="b-tiff2pdf">tiff2pdf</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
302 <varlistentry id="tiff2ps">
303 <term><command>tiff2ps</command></term>
304 <listitem>
305 <para>
306 converts a TIFF image to a PostScript file.
307 </para>
308 <indexterm zone="libtiff tiff2ps">
309 <primary sortas="b-tiff2ps">tiff2ps</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="tiff2rgba">
315 <term><command>tiff2rgba</command></term>
316 <listitem>
317 <para>
318 converts a wide variety of TIFF images into an RGBA
319 TIFF image.
320 </para>
321 <indexterm zone="libtiff tiff2rgba">
322 <primary sortas="b-tiff2rgba">tiff2rgba</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
327 <varlistentry id="tiffcmp">
328 <term><command>tiffcmp</command></term>
329 <listitem>
330 <para>
331 compares two TIFF files.
332 </para>
333 <indexterm zone="libtiff tiffcmp">
334 <primary sortas="b-tiffcmp">tiffcmp</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
338
339 <varlistentry id="tiffcp">
340 <term><command>tiffcp</command></term>
341 <listitem>
342 <para>
343 copies (and possibly converts) a TIFF file.
344 </para>
345 <indexterm zone="libtiff tiffcp">
346 <primary sortas="b-tiffcp">tiffcp</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="tiffcrop">
352 <term><command>tiffcrop</command></term>
353 <listitem>
354 <para>
355 selects, copies, crops, converts, extracts and/or processes
356 one or more TIFF files.
357 </para>
358 <indexterm zone="libtiff tiffcrop">
359 <primary sortas="b-tiffcrop">tiffcrop</primary>
360 </indexterm>
361 </listitem>
362 </varlistentry>
363
364 <varlistentry id="tiffdither">
365 <term><command>tiffdither</command></term>
366 <listitem>
367 <para>
368 converts a grayscale image to bilevel using dithering.
369 </para>
370 <indexterm zone="libtiff tiffdither">
371 <primary sortas="b-tiffdither">tiffdither</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="tiffdump">
377 <term><command>tiffdump</command></term>
378 <listitem>
379 <para>
380 prints verbatim information about TIFF files.
381 </para>
382 <indexterm zone="libtiff tiffdump">
383 <primary sortas="b-tiffdump">tiffdump</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="tiffgt">
389 <term><command>tiffgt</command></term>
390 <listitem>
391 <para>
392 displays an image stored in a TIFF file.
393 </para>
394 <indexterm zone="libtiff tiffgt">
395 <primary sortas="b-tiffgt">tiffgt</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
400 <varlistentry id="tiffinfo">
401 <term><command>tiffinfo</command></term>
402 <listitem>
403 <para>
404 prints information about TIFF files.
405 </para>
406 <indexterm zone="libtiff tiffinfo">
407 <primary sortas="b-tiffinfo">tiffinfo</primary>
408 </indexterm>
409 </listitem>
410 </varlistentry>
411
412 <varlistentry id="tiffmedian">
413 <term><command>tiffmedian</command></term>
414 <listitem>
415 <para>
416 applies the median cut algorithm to data in a TIFF file.
417 </para>
418 <indexterm zone="libtiff tiffmedian">
419 <primary sortas="b-tiffmedian">tiffmedian</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
424 <varlistentry id="tiffset">
425 <term><command>tiffset</command></term>
426 <listitem>
427 <para>
428 sets the value of a TIFF header to a specified value.
429 </para>
430 <indexterm zone="libtiff tiffset">
431 <primary sortas="b-tiffset">tiffset</primary>
432 </indexterm>
433 </listitem>
434 </varlistentry>
435
436 <varlistentry id="tiffsplit">
437 <term><command>tiffsplit</command></term>
438 <listitem>
439 <para>
440 splits a multi-image TIFF into single-image TIFF files.
441 </para>
442 <indexterm zone="libtiff tiffsplit">
443 <primary sortas="b-tiffsplit">tiffsplit</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 <varlistentry id="libtiff-lib">
449 <term><filename class="libraryfile">libtiff.so</filename></term>
450 <listitem>
451 <para>
452 contains the API functions used by the
453 <application>libtiff</application> programs as well as other
454 programs to read and write TIFF files.
455 </para>
456 <indexterm zone="libtiff libtiff-lib">
457 <primary sortas="c-libtiff">libtiff.so</primary>
458 </indexterm>
459 </listitem>
460 </varlistentry>
461
462 <varlistentry id="libtiffxx">
463 <term><filename class="libraryfile">libtiffxx.so</filename></term>
464 <listitem>
465 <para>
466 contains the C++ API functions used
467 by programs to read and write TIFF files.
468 </para>
469 <indexterm zone="libtiff libtiffxx">
470 <primary sortas="c-libtiffxx">libtiffxx.so</primary>
471 </indexterm>
472 </listitem>
473 </varlistentry>
474
475 </variablelist>
476
477 </sect2>
478
479</sect1>
Note: See TracBrowser for help on using the repository browser.