source: general/graphlib/libtiff.xml@ c82e999

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 c82e999 was 82bc335, checked in by Randy McMurchy <randy@…>, 20 years ago

Clarified 'Command explanations' section of libtiff

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

  • Property mode set to 100644
File size: 7.6 KB
RevLine 
[52d29f7]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
[f45b1953]15<sect1 id="libtiff" xreflabel="libtiff-&libtiff-version;">
[7f72cbf]16<?dbhtml filename="libtiff.html"?>
[f45b1953]17<title>libtiff-&libtiff-version;</title>
18
[52d29f7]19<sect2>
20<title>Introduction to <application>libtiff</application></title>
[446bd7c]21
[52d29f7]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>
[446bd7c]26
[52d29f7]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>
[446bd7c]35
[9b4f389]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
[52d29f7]42<sect3><title><application>libtiff</application> dependencies</title>
43<sect4><title>Optional</title>
44<para><xref linkend="libjpeg"/>
45</para></sect4>
46</sect3>
[446bd7c]47
[52d29f7]48</sect2>
49
50<sect2>
51<title>Installation of <application>libtiff</application></title>
[9b4f389]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>
[446bd7c]58
[52d29f7]59<para>Install <application>libtiff</application> by running the following commands:</para>
[446bd7c]60
[52d29f7]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>
[446bd7c]66
[52d29f7]67</sect2>
68
69<sect2>
70<title>Command explanations</title>
[446bd7c]71
[52d29f7]72<para><option>--noninteractive</option>: This switch is used to
73avoid the configuration routine asking for confirmation of the
[82bc335]74installation directories (which is passed to
75<command>configure</command>).</para>
[446bd7c]76
[52d29f7]77<para><parameter>--with-DIR_MAN=/usr/share/man</parameter>: This is used
[82bc335]78because even though <parameter>--prefix=/usr</parameter> is specified, the
79<command>configure</command> routine tries to install the man pages in
80<filename class="directory">/usr/local/man</filename> instead of the correct
[52d29f7]81place.</para>
[446bd7c]82
[52d29f7]83<para><parameter>--with-ZIP=yes --with-DIR_GZLIB=/usr/lib</parameter>: This
84enables support for the handling of <acronym>TIFF</acronym> images with
85deflate-encoded data.</para>
[446bd7c]86
[82bc335]87<para><option>--with-JPEG=yes --with-DIR_JPEGLIB=/usr/lib</option>: Use
[52d29f7]88these switches to enable support for the handling of <acronym>TIFF</acronym>
89images with <acronym>JPEG</acronym>-encoded data.</para>
[446bd7c]90
[52d29f7]91</sect2>
92
93<sect2>
94<title>Configuring <application>libtiff</application></title>
[446bd7c]95
[52d29f7]96<sect3><title>Configuration Information</title>
[446bd7c]97
[52d29f7]98<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
[446bd7c]99
[52d29f7]100</sect3>
[446bd7c]101
[52d29f7]102</sect2>
103
104<sect2>
105<title>Contents</title>
[446bd7c]106
[52d29f7]107<para>The libtiff package contains
108<command>fax2ps</command>,
109<command>fax2tiff</command>,
110<command>gif2tiff</command>,
111<command>pal2rgb</command>,
112<command>ppm2tiff</command>,
113<command>ras2tiff</command>,
114<command>raw2tiff</command>,
115<command>rgb2ycbcr</command>,
116<command>thumbnail</command>,
117<command>tiff2bw</command>,
118<command>tiff2pdf</command>,
119<command>tiff2ps</command>,
120<command>tiff2rgba</command>,
121<command>tiffcmp</command>,
122<command>tiffcp</command>,
123<command>tiffdither</command>,
124<command>tiffdump</command>,
125<command>tiffinfo</command>,
126<command>tiffmedian</command>,
127<command>tiffset</command>,
128<command>tiffsplit</command> and
129<filename class="libraryfile">libtiff</filename> libraries.</para>
[446bd7c]130
[52d29f7]131</sect2>
[446bd7c]132
[52d29f7]133<sect2><title>Description</title>
[446bd7c]134
[52d29f7]135<sect3><title>fax2ps</title>
136<para><command>fac2ps</command> converts a <acronym>TIFF</acronym>
137facsimile to compressed PostScript file.</para></sect3>
[446bd7c]138
[52d29f7]139<sect3><title>fax2tiff</title>
140<para><command>fax2tiff</command> creates a <acronym>TIFF</acronym>
141Class F fax file from raw fax data.</para></sect3>
[446bd7c]142
[52d29f7]143<sect3><title>gif2tiff</title>
144<para><command>gif2tiff</command> creates a <acronym>TIFF</acronym> file
145from a <acronym>GIF87</acronym> format image file.</para></sect3>
[446bd7c]146
[52d29f7]147<sect3><title>pal2rgb</title>
148<para><command>pal2rgb</command> converts a palette color
149<acronym>TIFF</acronym> image to a full color image.</para></sect3>
[446bd7c]150
[52d29f7]151<sect3><title>ppm2tiff</title>
152<para><command>ppm2tiff</command> creates a <acronym>TIFF</acronym> file
153from a <acronym>PPM</acronym> image file.</para></sect3>
[446bd7c]154
[52d29f7]155<sect3><title>ras2tiff</title>
156<para><command>ras2tiff</command> creates a <acronym>TIFF</acronym> file
157from a Sun rasterfile.</para></sect3>
[446bd7c]158
[52d29f7]159<sect3><title>raw2tiff</title>
160<para><command>raw2tiff</command> converts a raw byte sequence into
161<acronym>TIFF</acronym>.</para></sect3>
[446bd7c]162
[52d29f7]163<sect3><title>rgb2ycbcr</title>
164<para><command>rgb2ycbcr</command> converts non-YCbCr
165<acronym>TIFF</acronym> images to a YCbCr <acronym>TIFF</acronym>
166image.</para></sect3>
[446bd7c]167
[52d29f7]168<sect3><title>thumbnail</title>
169<para><command>thumbnail</command> creates a <acronym>TIFF</acronym>
170file with thumbnail images.</para></sect3>
[446bd7c]171
[52d29f7]172<sect3><title>tiff2bw</title>
173<para><command>tiff2bw</command> converts a color
174<acronym>TIFF</acronym> image to grayscale.</para></sect3>
[446bd7c]175
[52d29f7]176<sect3><title>tiff2pdf</title>
177<para><command>tiff2pdf</command> converts a <acronym>TIFF</acronym>
178image to a <acronym>PDF</acronym> document.</para></sect3>
[446bd7c]179
[52d29f7]180<sect3><title>tiff2ps</title>
181<para><command>tiff2ps</command> converts a <acronym>TIFF</acronym>
182image to a PostScript file.</para></sect3>
[446bd7c]183
[52d29f7]184<sect3><title>tiff2rgba</title>
185<para><command>tiff2rgba</command> converts a wide variety of
186<acronym>TIFF</acronym> images into an <acronym>RGBA</acronym>
187<acronym>TIFF</acronym> image.</para></sect3>
[446bd7c]188
[52d29f7]189<sect3><title>tiffcmp</title>
190<para><command>tiffcmp</command> compares two <acronym>TIFF</acronym>
191files.</para></sect3>
[446bd7c]192
[52d29f7]193<sect3><title>tiffcp</title>
194<para><command>tiffcp</command> copies (and possibly converts) a
195<acronym>TIFF</acronym> file.</para></sect3>
[446bd7c]196
[52d29f7]197<sect3><title>tiffdither</title>
198<para><command>tiffdither</command> converts a grayscale image to
199bilevel using dithering.</para></sect3>
[446bd7c]200
[52d29f7]201<sect3><title>tiffdump</title>
202<para><command>tiffdump</command> prints verbatim information about
203<acronym>TIFF</acronym> files.</para></sect3>
[446bd7c]204
[52d29f7]205<sect3><title>tiffinfo</title>
206<para><command>tiffinfo</command> prints information about
207<acronym>TIFF</acronym> files.</para></sect3>
[446bd7c]208
[52d29f7]209<sect3><title>tiffmedian</title>
210<para><command>tiffmedian</command> applies the median cut algorithm to
211data in a <acronym>TIFF</acronym> file.</para></sect3>
[446bd7c]212
[52d29f7]213<sect3><title>tiffsplit</title>
214<para><command>tiffsplit</command> splits a multi-image
215<acronym>TIFF</acronym> into single-image <acronym>TIFF</acronym>
216files.</para></sect3>
[446bd7c]217
[52d29f7]218<sect3><title>tiff libraries</title>
219<para>The tiff libraries are used by many programs to read and write
220tiff files.</para></sect3>
[446bd7c]221
[52d29f7]222</sect2>
[f45b1953]223
224</sect1>
225
Note: See TracBrowser for help on using the repository browser.