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