[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>
|
---|
| 21 |
|
---|
| 22 | <para>The <application>libtiff</application> package contains the tiff libraries and associated
|
---|
| 23 | utilities. The libraries are used by many programs for reading and
|
---|
| 24 | writing tiff files and the utilities are useful for general work with
|
---|
| 25 | tiff 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><application>libtiff</application> dependencies</title>
|
---|
| 37 | <sect4><title>Optional</title>
|
---|
| 38 | <para><xref linkend="libjpeg"/>
|
---|
| 39 | </para></sect4>
|
---|
| 40 | </sect3>
|
---|
| 41 |
|
---|
| 42 | </sect2>
|
---|
| 43 |
|
---|
| 44 | <sect2>
|
---|
| 45 | <title>Installation of <application>libtiff</application></title>
|
---|
| 46 |
|
---|
| 47 | <para>Install <application>libtiff</application> by running the following commands:</para>
|
---|
| 48 |
|
---|
| 49 | <screen><userinput><command>./configure --prefix=/usr --noninteractive \
|
---|
| 50 | --with-DIR_MAN=/usr/share/man \
|
---|
| 51 | --with-ZIP=yes --with-DIR_GZLIB=/usr/lib &&
|
---|
| 52 | make &&
|
---|
| 53 | make install</command></userinput></screen>
|
---|
| 54 |
|
---|
| 55 | <note><para>configure prints false error messages that it is unable to find thelibrary directories for ZIP (and JPEG) support. Ignore them. To verify that
|
---|
| 56 | <filename>libtiff</filename> is indeed linked to these libraries, use the
|
---|
| 57 | <command>ldd</command> command.</para></note>
|
---|
| 58 |
|
---|
| 59 | </sect2>
|
---|
| 60 |
|
---|
| 61 | <sect2>
|
---|
| 62 | <title>Command explanations</title>
|
---|
| 63 |
|
---|
| 64 | <para><option>--noninteractive</option>: This switch is used to
|
---|
| 65 | avoid the configuration routine asking for confirmation of the
|
---|
| 66 | installation directories (which we pass to configure).</para>
|
---|
| 67 |
|
---|
| 68 | <para><parameter>--with-DIR_MAN=/usr/share/man</parameter>: This is used
|
---|
| 69 | because despite the fact we pass <parameter>--prefix=/usr</parameter>, the
|
---|
| 70 | configure routine tries to install the man pages in <filename
|
---|
| 71 | class="directory">/usr/local/man</filename> instead of the correct
|
---|
| 72 | place.</para>
|
---|
| 73 |
|
---|
| 74 | <para><parameter>--with-ZIP=yes --with-DIR_GZLIB=/usr/lib</parameter>: This
|
---|
| 75 | enables support for the handling of <acronym>TIFF</acronym> images with
|
---|
| 76 | deflate-encoded data.</para>
|
---|
| 77 |
|
---|
| 78 | <para><parameter>--with-JPEG=yes --with-DIR_JPEGLIB=/usr/lib</parameter>: Use
|
---|
| 79 | these switches to enable support for the handling of <acronym>TIFF</acronym>
|
---|
| 80 | images with <acronym>JPEG</acronym>-encoded data.</para>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2>
|
---|
| 85 | <title>Configuring <application>libtiff</application></title>
|
---|
| 86 |
|
---|
| 87 | <sect3><title>Configuration Information</title>
|
---|
| 88 |
|
---|
| 89 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
| 90 |
|
---|
| 91 | </sect3>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2>
|
---|
| 96 | <title>Contents</title>
|
---|
| 97 |
|
---|
| 98 | <para>The libtiff package contains
|
---|
| 99 | <command>fax2ps</command>,
|
---|
| 100 | <command>fax2tiff</command>,
|
---|
| 101 | <command>gif2tiff</command>,
|
---|
| 102 | <command>pal2rgb</command>,
|
---|
| 103 | <command>ppm2tiff</command>,
|
---|
| 104 | <command>ras2tiff</command>,
|
---|
| 105 | <command>raw2tiff</command>,
|
---|
| 106 | <command>rgb2ycbcr</command>,
|
---|
| 107 | <command>thumbnail</command>,
|
---|
| 108 | <command>tiff2bw</command>,
|
---|
| 109 | <command>tiff2pdf</command>,
|
---|
| 110 | <command>tiff2ps</command>,
|
---|
| 111 | <command>tiff2rgba</command>,
|
---|
| 112 | <command>tiffcmp</command>,
|
---|
| 113 | <command>tiffcp</command>,
|
---|
| 114 | <command>tiffdither</command>,
|
---|
| 115 | <command>tiffdump</command>,
|
---|
| 116 | <command>tiffinfo</command>,
|
---|
| 117 | <command>tiffmedian</command>,
|
---|
| 118 | <command>tiffset</command>,
|
---|
| 119 | <command>tiffsplit</command> and
|
---|
| 120 | <filename class="libraryfile">libtiff</filename> libraries.</para>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2><title>Description</title>
|
---|
| 125 |
|
---|
| 126 | <sect3><title>fax2ps</title>
|
---|
| 127 | <para><command>fac2ps</command> converts a <acronym>TIFF</acronym>
|
---|
| 128 | facsimile to compressed PostScript file.</para></sect3>
|
---|
| 129 |
|
---|
| 130 | <sect3><title>fax2tiff</title>
|
---|
| 131 | <para><command>fax2tiff</command> creates a <acronym>TIFF</acronym>
|
---|
| 132 | Class F fax file from raw fax data.</para></sect3>
|
---|
| 133 |
|
---|
| 134 | <sect3><title>gif2tiff</title>
|
---|
| 135 | <para><command>gif2tiff</command> creates a <acronym>TIFF</acronym> file
|
---|
| 136 | from a <acronym>GIF87</acronym> format image file.</para></sect3>
|
---|
| 137 |
|
---|
| 138 | <sect3><title>pal2rgb</title>
|
---|
| 139 | <para><command>pal2rgb</command> converts a palette color
|
---|
| 140 | <acronym>TIFF</acronym> image to a full color image.</para></sect3>
|
---|
| 141 |
|
---|
| 142 | <sect3><title>ppm2tiff</title>
|
---|
| 143 | <para><command>ppm2tiff</command> creates a <acronym>TIFF</acronym> file
|
---|
| 144 | from a <acronym>PPM</acronym> image file.</para></sect3>
|
---|
| 145 |
|
---|
| 146 | <sect3><title>ras2tiff</title>
|
---|
| 147 | <para><command>ras2tiff</command> creates a <acronym>TIFF</acronym> file
|
---|
| 148 | from a Sun rasterfile.</para></sect3>
|
---|
| 149 |
|
---|
| 150 | <sect3><title>raw2tiff</title>
|
---|
| 151 | <para><command>raw2tiff</command> converts a raw byte sequence into
|
---|
| 152 | <acronym>TIFF</acronym>.</para></sect3>
|
---|
| 153 |
|
---|
| 154 | <sect3><title>rgb2ycbcr</title>
|
---|
| 155 | <para><command>rgb2ycbcr</command> converts non-YCbCr
|
---|
| 156 | <acronym>TIFF</acronym> images to a YCbCr <acronym>TIFF</acronym>
|
---|
| 157 | image.</para></sect3>
|
---|
| 158 |
|
---|
| 159 | <sect3><title>thumbnail</title>
|
---|
| 160 | <para><command>thumbnail</command> creates a <acronym>TIFF</acronym>
|
---|
| 161 | file with thumbnail images.</para></sect3>
|
---|
| 162 |
|
---|
| 163 | <sect3><title>tiff2bw</title>
|
---|
| 164 | <para><command>tiff2bw</command> converts a color
|
---|
| 165 | <acronym>TIFF</acronym> image to grayscale.</para></sect3>
|
---|
| 166 |
|
---|
| 167 | <sect3><title>tiff2pdf</title>
|
---|
| 168 | <para><command>tiff2pdf</command> converts a <acronym>TIFF</acronym>
|
---|
| 169 | image to a <acronym>PDF</acronym> document.</para></sect3>
|
---|
| 170 |
|
---|
| 171 | <sect3><title>tiff2ps</title>
|
---|
| 172 | <para><command>tiff2ps</command> converts a <acronym>TIFF</acronym>
|
---|
| 173 | image to a PostScript file.</para></sect3>
|
---|
| 174 |
|
---|
| 175 | <sect3><title>tiff2rgba</title>
|
---|
| 176 | <para><command>tiff2rgba</command> converts a wide variety of
|
---|
| 177 | <acronym>TIFF</acronym> images into an <acronym>RGBA</acronym>
|
---|
| 178 | <acronym>TIFF</acronym> image.</para></sect3>
|
---|
| 179 |
|
---|
| 180 | <sect3><title>tiffcmp</title>
|
---|
| 181 | <para><command>tiffcmp</command> compares two <acronym>TIFF</acronym>
|
---|
| 182 | files.</para></sect3>
|
---|
| 183 |
|
---|
| 184 | <sect3><title>tiffcp</title>
|
---|
| 185 | <para><command>tiffcp</command> copies (and possibly converts) a
|
---|
| 186 | <acronym>TIFF</acronym> file.</para></sect3>
|
---|
| 187 |
|
---|
| 188 | <sect3><title>tiffdither</title>
|
---|
| 189 | <para><command>tiffdither</command> converts a grayscale image to
|
---|
| 190 | bilevel using dithering.</para></sect3>
|
---|
| 191 |
|
---|
| 192 | <sect3><title>tiffdump</title>
|
---|
| 193 | <para><command>tiffdump</command> prints verbatim information about
|
---|
| 194 | <acronym>TIFF</acronym> files.</para></sect3>
|
---|
| 195 |
|
---|
| 196 | <sect3><title>tiffinfo</title>
|
---|
| 197 | <para><command>tiffinfo</command> prints information about
|
---|
| 198 | <acronym>TIFF</acronym> files.</para></sect3>
|
---|
| 199 |
|
---|
| 200 | <sect3><title>tiffmedian</title>
|
---|
| 201 | <para><command>tiffmedian</command> applies the median cut algorithm to
|
---|
| 202 | data in a <acronym>TIFF</acronym> file.</para></sect3>
|
---|
| 203 |
|
---|
| 204 | <sect3><title>tiffsplit</title>
|
---|
| 205 | <para><command>tiffsplit</command> splits a multi-image
|
---|
| 206 | <acronym>TIFF</acronym> into single-image <acronym>TIFF</acronym>
|
---|
| 207 | files.</para></sect3>
|
---|
| 208 |
|
---|
| 209 | <sect3><title>tiff libraries</title>
|
---|
| 210 | <para>The tiff libraries are used by many programs to read and write
|
---|
| 211 | tiff files.</para></sect3>
|
---|
| 212 |
|
---|
| 213 | </sect2>
|
---|
[f45b1953] | 214 |
|
---|
| 215 | </sect1>
|
---|
| 216 |
|
---|