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