The libtiff package contains the tiff libraries and associated utilities. The libraries are used by many programs for reading and writing tiff files and the utilities are useful for general work with tiff files.
Download (HTTP): http://libtiff.maptools.org/dl/tiff-v3.6.1.tar.gz
Download size: 1.1 MB
Estimated Disk space required: 11 MB
Estimated build time: 0.16 SBU
Install libtiff by running the following commands:
./configure --prefix=/usr --noninteractive \
--with-DIR_MAN=/usr/share/man \
--with-ZIP=yes --with-DIR_GZLIB=/usr/lib &&
make &&
make install
configure prints false error messages that it is unable to find the library directories for ZIP (and JPEG) support. Ignore them. To verify that libtiff is indeed linked to these libraries, use the ldd command.
--noninteractive: This switch is used to avoid the configuration routine asking for confirmation of the installation directories (which we pass to configure).
--with-DIR_MAN=/usr/share/man: This is used because despite the fact we pass --prefix=/usr, the configure routine tries to install the man pages in /usr/local/man instead of the correct place.
--with-ZIP=yes --with-DIR_GZLIB=/usr/lib: This enables support for the handling of TIFF images with deflate-encoded data.
--with-JPEG=yes --with-DIR_JPEGLIB=/usr/lib: Use these switches to enable support for the handling of TIFF images with JPEG-encoded data.
As with most libraries, there is no configuration to do, save that the library directory i.e., /opt/lib or /usr/local/lib should appear in /etc/ld.so.conf so that ldd can find the shared libraries. After checking that this is the case, /sbin/ldconfig should be run while logged in as root.
The libtiff package contains fax2ps, fax2tiff, gif2tiff, pal2rgb, ppm2tiff, ras2tiff, raw2tiff, rgb2ycbcr, thumbnail, tiff2bw, tiff2pdf, tiff2ps, tiff2rgba, tiffcmp, tiffcp, tiffdither, tiffdump, tiffinfo, tiffmedian, tiffset, tiffsplit and libtiff libraries.