source: general/graphlib/libtiff.xml@ 682f8ef8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 682f8ef8 was 9b4f389, checked in by Igor Živković <igor@…>, 20 years ago

Described how to add LZW compression support to libtiff, suggested by Dan Osterrath.

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

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