[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[352f326] | 7 | <!ENTITY libtiff-download-http
|
---|
| 8 | "http://download.osgeo.org/libtiff/tiff-&libtiff-version;.tar.gz">
|
---|
| 9 | <!ENTITY libtiff-download-ftp
|
---|
| 10 | "ftp://ftp.remotesensing.org/libtiff/tiff-&libtiff-version;.tar.gz">
|
---|
| 11 | <!ENTITY libtiff-md5sum "fae149cc9da35c598d8be897826dfc63">
|
---|
[176d88e] | 12 | <!ENTITY libtiff-size "1.9 MB">
|
---|
| 13 | <!ENTITY libtiff-buildsize "31 MB">
|
---|
[2cc7a668] | 14 | <!ENTITY libtiff-time "0.4 SBU">
|
---|
[52d29f7] | 15 | ]>
|
---|
| 16 |
|
---|
[c6b31c5] | 17 | <sect1 id="libtiff" xreflabel="LibTIFF-&libtiff-version;">
|
---|
[eda81eb] | 18 | <?dbhtml filename="libtiff.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
[c6b31c5] | 25 | <title>LibTIFF-&libtiff-version;</title>
|
---|
[eda81eb] | 26 |
|
---|
| 27 | <indexterm zone="libtiff">
|
---|
[c6b31c5] | 28 | <primary sortas="a-LibTIFF">LibTIFF</primary>
|
---|
[eda81eb] | 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
[c6b31c5] | 32 | <title>Introduction to LibTIFF</title>
|
---|
[eda81eb] | 33 |
|
---|
[c6b31c5] | 34 | <para>The <application>LibTIFF</application> package contains the
|
---|
[e9116cc] | 35 | TIFF libraries and associated utilities. The libraries are used by many
|
---|
| 36 | programs for reading and writing TIFF files and the utilities are useful
|
---|
[eda81eb] | 37 | for general work with TIFF files.</para>
|
---|
| 38 |
|
---|
[4c77a949] | 39 | &lfs71_checked;
|
---|
[3af39b1] | 40 |
|
---|
[eda81eb] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&libtiff-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&libtiff-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &libtiff-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &libtiff-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &libtiff-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &libtiff-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
[c6b31c5] | 63 | <bridgehead renderas="sect3">LibTIFF Dependencies</bridgehead>
|
---|
[eda81eb] | 64 |
|
---|
| 65 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[caa1fce] | 66 | <para role="optional"><xref linkend="libjpeg"/>,
|
---|
[2cc7a668] | 67 | <xref linkend="x-window-system"/>,
|
---|
| 68 | <xref linkend="freeglut"/>, and
|
---|
| 69 | <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink></para>
|
---|
[a0b3f1a8] | 70 |
|
---|
[1039de3] | 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/libtiff"/></para>
|
---|
[eda81eb] | 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2 role="installation">
|
---|
[c6b31c5] | 76 | <title>Installation of LibTIFF</title>
|
---|
[eda81eb] | 77 |
|
---|
[c6b31c5] | 78 | <para>Install <application>LibTIFF</application> by running the following
|
---|
[eda81eb] | 79 | commands:</para>
|
---|
| 80 |
|
---|
[352f326] | 81 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[eda81eb] | 82 | make</userinput></screen>
|
---|
| 83 |
|
---|
| 84 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 85 |
|
---|
[352f326] | 86 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 87 | user:</para>
|
---|
[eda81eb] | 88 |
|
---|
| 89 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
[be03ffa] | 92 | <sect2 role="commands">
|
---|
| 93 | <title>Command Explanations</title>
|
---|
| 94 |
|
---|
| 95 | <para><option>--disable-static</option>: This switch prevents the
|
---|
| 96 | static library from being built.</para>
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
[eda81eb] | 99 | <sect2 role="content">
|
---|
| 100 | <title>Contents</title>
|
---|
| 101 |
|
---|
| 102 | <segmentedlist>
|
---|
| 103 | <segtitle>Installed Programs</segtitle>
|
---|
| 104 | <segtitle>Installed Libraries</segtitle>
|
---|
| 105 | <segtitle>Installed Directory</segtitle>
|
---|
| 106 |
|
---|
| 107 | <seglistitem>
|
---|
[e9116cc] | 108 | <seg>bmp2tiff, fax2ps, fax2tiff, gif2tiff, pal2rgb, ppm2tiff, ras2tiff,
|
---|
| 109 | raw2tiff, rgb2ycbcr, thumbnail, tiff2bw, tiff2pdf, tiff2ps, tiff2rgba,
|
---|
[352f326] | 110 | tiffcmp, tiffcp, tiffcrop, tiffdither, tiffdump, tiffinfo, tiffmedian,
|
---|
| 111 | tiffset, and tiffsplit</seg>
|
---|
| 112 | <seg>libtiff.so and libtiffxx.so</seg>
|
---|
[eda81eb] | 113 | <seg>/usr/share/doc/tiff-&libtiff-version;</seg>
|
---|
| 114 | </seglistitem>
|
---|
| 115 | </segmentedlist>
|
---|
| 116 |
|
---|
| 117 | <variablelist>
|
---|
| 118 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 119 | <?dbfo list-presentation="list"?>
|
---|
| 120 | <?dbhtml list-presentation="table"?>
|
---|
| 121 |
|
---|
| 122 | <varlistentry id="bmp2tiff">
|
---|
| 123 | <term><command>bmp2tiff</command></term>
|
---|
| 124 | <listitem>
|
---|
[e9116cc] | 125 | <para>converts a Microsoft Windows Device Independent Bitmap image
|
---|
[eda81eb] | 126 | file to a TIFF image.</para>
|
---|
| 127 | <indexterm zone="libtiff bmp2tiff">
|
---|
| 128 | <primary sortas="b-bmp2tiff">bmp2tiff</primary>
|
---|
| 129 | </indexterm>
|
---|
| 130 | </listitem>
|
---|
| 131 | </varlistentry>
|
---|
| 132 |
|
---|
| 133 | <varlistentry id="fax2ps">
|
---|
| 134 | <term><command>fax2ps</command></term>
|
---|
| 135 | <listitem>
|
---|
| 136 | <para>converts a TIFF facsimile to compressed PostScript file.</para>
|
---|
| 137 | <indexterm zone="libtiff fax2ps">
|
---|
| 138 | <primary sortas="b-fax2ps">fax2ps</primary>
|
---|
| 139 | </indexterm>
|
---|
| 140 | </listitem>
|
---|
| 141 | </varlistentry>
|
---|
| 142 |
|
---|
| 143 | <varlistentry id="fax2tiff">
|
---|
| 144 | <term><command>fax2tiff</command></term>
|
---|
| 145 | <listitem>
|
---|
| 146 | <para>creates a TIFF Class F fax file from raw fax data.</para>
|
---|
| 147 | <indexterm zone="libtiff fax2tiff">
|
---|
| 148 | <primary sortas="b-fax2tiff">fax2tiff</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="gif2tiff">
|
---|
| 154 | <term><command>gif2tiff</command></term>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>creates a TIFF file from a GIF87 format image file.</para>
|
---|
| 157 | <indexterm zone="libtiff gif2tiff">
|
---|
| 158 | <primary sortas="b-gif2tiff">gif2tiff</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="pal2rgb">
|
---|
| 164 | <term><command>pal2rgb</command></term>
|
---|
| 165 | <listitem>
|
---|
[352f326] | 166 | <para>converts a palette color TIFF image to a full color
|
---|
| 167 | image.</para>
|
---|
[eda81eb] | 168 | <indexterm zone="libtiff pal2rgb">
|
---|
| 169 | <primary sortas="b-pal2rgb">pal2rgb</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="ppm2tiff">
|
---|
| 175 | <term><command>ppm2tiff</command></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>creates a TIFF file from a PPM image file.</para>
|
---|
| 178 | <indexterm zone="libtiff ppm2tiff">
|
---|
| 179 | <primary sortas="b-ppm2tiff">ppm2tiff</primary>
|
---|
| 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 |
|
---|
| 184 | <varlistentry id="ras2tiff">
|
---|
| 185 | <term><command>ras2tiff</command></term>
|
---|
| 186 | <listitem>
|
---|
| 187 | <para>creates a TIFF file from a Sun rasterfile.</para>
|
---|
| 188 | <indexterm zone="libtiff ras2tiff">
|
---|
| 189 | <primary sortas="b-ras2tiff">ras2tiff</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="raw2tiff">
|
---|
| 195 | <term><command>raw2tiff</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>converts a raw byte sequence into TIFF.</para>
|
---|
| 198 | <indexterm zone="libtiff raw2tiff">
|
---|
| 199 | <primary sortas="b-raw2tiff">raw2tiff</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
| 204 | <varlistentry id="rgb2ycbcr">
|
---|
| 205 | <term><command>rgb2ycbcr</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>converts non-YCbCr TIFF images to YCbCr TIFF images.</para>
|
---|
| 208 | <indexterm zone="libtiff rgb2ycbcr">
|
---|
| 209 | <primary sortas="b-rgb2ycbcr">rgb2ycbcr</primary>
|
---|
| 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
| 213 |
|
---|
| 214 | <varlistentry id="thumbnail">
|
---|
| 215 | <term><command>thumbnail</command></term>
|
---|
| 216 | <listitem>
|
---|
| 217 | <para>creates a TIFF file with thumbnail images.</para>
|
---|
| 218 | <indexterm zone="libtiff thumbnail">
|
---|
| 219 | <primary sortas="b-thumbnail">thumbnail</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="tiff2bw">
|
---|
| 225 | <term><command>tiff2bw</command></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>converts a color TIFF image to grayscale.</para>
|
---|
| 228 | <indexterm zone="libtiff tiff2bw">
|
---|
| 229 | <primary sortas="b-tiff2bw">tiff2bw</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
| 234 | <varlistentry id="tiff2pdf">
|
---|
| 235 | <term><command>tiff2pdf</command></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>converts a TIFF image to a PDF document.</para>
|
---|
| 238 | <indexterm zone="libtiff tiff2pdf">
|
---|
| 239 | <primary sortas="b-tiff2pdf">tiff2pdf</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="tiff2ps">
|
---|
| 245 | <term><command>tiff2ps</command></term>
|
---|
| 246 | <listitem>
|
---|
| 247 | <para>converts a TIFF image to a PostScript file.</para>
|
---|
| 248 | <indexterm zone="libtiff tiff2ps">
|
---|
| 249 | <primary sortas="b-tiff2ps">tiff2ps</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
| 254 | <varlistentry id="tiff2rgba">
|
---|
| 255 | <term><command>tiff2rgba</command></term>
|
---|
| 256 | <listitem>
|
---|
[e9116cc] | 257 | <para>converts a wide variety of TIFF images into an RGBA
|
---|
[eda81eb] | 258 | TIFF image.</para>
|
---|
| 259 | <indexterm zone="libtiff tiff2rgba">
|
---|
| 260 | <primary sortas="b-tiff2rgba">tiff2rgba</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 |
|
---|
| 265 | <varlistentry id="tiffcmp">
|
---|
| 266 | <term><command>tiffcmp</command></term>
|
---|
| 267 | <listitem>
|
---|
| 268 | <para>compares two TIFF files.</para>
|
---|
| 269 | <indexterm zone="libtiff tiffcmp">
|
---|
| 270 | <primary sortas="b-tiffcmp">tiffcmp</primary>
|
---|
| 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
| 275 | <varlistentry id="tiffcp">
|
---|
| 276 | <term><command>tiffcp</command></term>
|
---|
| 277 | <listitem>
|
---|
| 278 | <para> copies (and possibly converts) a TIFF file.</para>
|
---|
| 279 | <indexterm zone="libtiff tiffcp">
|
---|
| 280 | <primary sortas="b-tiffcp">tiffcp</primary>
|
---|
| 281 | </indexterm>
|
---|
| 282 | </listitem>
|
---|
| 283 | </varlistentry>
|
---|
| 284 |
|
---|
[352f326] | 285 | <varlistentry id="tiffcrop">
|
---|
| 286 | <term><command>tiffcrop</command></term>
|
---|
| 287 | <listitem>
|
---|
| 288 | <para> selects, copies, crops, converts, extracts, and/or processes
|
---|
| 289 | one or more TIFF files. .</para>
|
---|
| 290 | <indexterm zone="libtiff tiffcrop">
|
---|
| 291 | <primary sortas="b-tiffcrop">tiffcrop</primary>
|
---|
| 292 | </indexterm>
|
---|
| 293 | </listitem>
|
---|
| 294 | </varlistentry>
|
---|
| 295 |
|
---|
[eda81eb] | 296 | <varlistentry id="tiffdither">
|
---|
| 297 | <term><command>tiffdither</command></term>
|
---|
| 298 | <listitem>
|
---|
| 299 | <para>converts a grayscale image to bilevel using dithering.</para>
|
---|
| 300 | <indexterm zone="libtiff tiffdither">
|
---|
| 301 | <primary sortas="b-tiffdither">tiffdither</primary>
|
---|
| 302 | </indexterm>
|
---|
| 303 | </listitem>
|
---|
| 304 | </varlistentry>
|
---|
| 305 |
|
---|
| 306 | <varlistentry id="tiffdump">
|
---|
| 307 | <term><command>tiffdump</command></term>
|
---|
| 308 | <listitem>
|
---|
| 309 | <para>prints verbatim information about TIFF files.</para>
|
---|
| 310 | <indexterm zone="libtiff tiffdump">
|
---|
| 311 | <primary sortas="b-tiffdump">tiffdump</primary>
|
---|
| 312 | </indexterm>
|
---|
| 313 | </listitem>
|
---|
| 314 | </varlistentry>
|
---|
| 315 |
|
---|
| 316 | <varlistentry id="tiffinfo">
|
---|
| 317 | <term><command>tiffinfo</command></term>
|
---|
| 318 | <listitem>
|
---|
| 319 | <para>prints information about TIFF files.</para>
|
---|
| 320 | <indexterm zone="libtiff tiffinfo">
|
---|
| 321 | <primary sortas="b-tiffinfo">tiffinfo</primary>
|
---|
| 322 | </indexterm>
|
---|
| 323 | </listitem>
|
---|
| 324 | </varlistentry>
|
---|
| 325 |
|
---|
| 326 | <varlistentry id="tiffmedian">
|
---|
| 327 | <term><command>tiffmedian</command></term>
|
---|
| 328 | <listitem>
|
---|
| 329 | <para>applies the median cut algorithm to data in a TIFF file.</para>
|
---|
| 330 | <indexterm zone="libtiff tiffmedian">
|
---|
| 331 | <primary sortas="b-tiffmedian">tiffmedian</primary>
|
---|
| 332 | </indexterm>
|
---|
| 333 | </listitem>
|
---|
| 334 | </varlistentry>
|
---|
| 335 |
|
---|
| 336 | <varlistentry id="tiffset">
|
---|
| 337 | <term><command>tiffset</command></term>
|
---|
| 338 | <listitem>
|
---|
| 339 | <para>sets the value of a TIFF header to a specified value.</para>
|
---|
| 340 | <indexterm zone="libtiff tiffset">
|
---|
| 341 | <primary sortas="b-tiffset">tiffset</primary>
|
---|
| 342 | </indexterm>
|
---|
| 343 | </listitem>
|
---|
| 344 | </varlistentry>
|
---|
| 345 |
|
---|
| 346 | <varlistentry id="tiffsplit">
|
---|
| 347 | <term><command>tiffsplit</command></term>
|
---|
| 348 | <listitem>
|
---|
| 349 | <para>splits a multi-image TIFF into single-image TIFF files.</para>
|
---|
| 350 | <indexterm zone="libtiff tiffsplit">
|
---|
| 351 | <primary sortas="b-tiffsplit">tiffsplit</primary>
|
---|
| 352 | </indexterm>
|
---|
| 353 | </listitem>
|
---|
| 354 | </varlistentry>
|
---|
| 355 |
|
---|
| 356 | <varlistentry id="libtiff-lib">
|
---|
[352f326] | 357 | <term><filename class='libraryfile'>libtiff.so</filename></term>
|
---|
[eda81eb] | 358 | <listitem>
|
---|
[e9116cc] | 359 | <para>contains the API functions used by the
|
---|
| 360 | <application>libtiff</application> programs as well as other
|
---|
[eda81eb] | 361 | programs to read and write TIFF files.</para>
|
---|
| 362 | <indexterm zone="libtiff libtiff-lib">
|
---|
[352f326] | 363 | <primary sortas="c-libtiff">libtiff.so</primary>
|
---|
[eda81eb] | 364 | </indexterm>
|
---|
| 365 | </listitem>
|
---|
| 366 | </varlistentry>
|
---|
| 367 |
|
---|
| 368 | <varlistentry id="libtiffxx">
|
---|
[352f326] | 369 | <term><filename class='libraryfile'>libtiffxx.so</filename></term>
|
---|
[eda81eb] | 370 | <listitem>
|
---|
[e9116cc] | 371 | <para>contains the C++ API functions used
|
---|
[eda81eb] | 372 | by programs to read and write TIFF files.</para>
|
---|
| 373 | <indexterm zone="libtiff libtiffxx">
|
---|
[352f326] | 374 | <primary sortas="c-libtiffxx">libtiffxx.so</primary>
|
---|
[eda81eb] | 375 | </indexterm>
|
---|
| 376 | </listitem>
|
---|
| 377 | </varlistentry>
|
---|
| 378 | </variablelist>
|
---|
| 379 | </sect2>
|
---|
[f45b1953] | 380 | </sect1>
|
---|