LibTIFF-4.0.10

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 10. Graphics and Font Libraries

- Prev

  librsvg-2.44.14

- Next

  libwebp-1.0.3

- Up
- Home

# LibTIFF-4.0.10

## Introduction to LibTIFF

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 used for general work with TIFF files.

This package is known to build and work properly using an LFS-9.0 platform.

### Package Information

- Download (HTTP): http://download.osgeo.org/libtiff/tiff-4.0.10.tar.gz

- Download MD5 sum: 114192d7ebe537912a2b97408832e7fd

- Download size: 2.3 MB

- Estimated disk space required: 15 MB (with tests)

- Estimated build time: less than 0.1 SBU (with tests)

### LibTIFF Dependencies

#### Recommended

CMake-3.15.2

#### Optional

Freeglut-3.0.0 (required for tiffgt), libjpeg-turbo-2.0.2, libwebp-1.0.3, JBIG-KIT, and Zstd

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libtiff

## Installation of LibTIFF

Install LibTIFF by running the following commands:

    mkdir -p libtiff-build &&
    cd       libtiff-build &&

    cmake -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/libtiff-4.0.10 \
          -DCMAKE_INSTALL_PREFIX=/usr -G Ninja .. &&
    ninja

To test the results, issue: ninja test.

Now, as the `root` user:

    ninja install

## Contents

Installed Programs: fax2ps, fax2tiff, pal2rgb, ppm2tiff, raw2tiff, tiff2bw, tiff2pdf, tiff2ps, tiff2rgba, tiffcmp, tiffcp, tiffcrop, tiffdither, tiffdump, tiffgt, tiffinfo, tiffmedian, tiffset and tiffsplit
Installed Libraries: libtiff.so and libtiffxx.so
Installed Directory: /usr/share/doc/tiff-4.0.10

### Short Descriptions

fax2ps | converts a TIFF facsimile to compressed PostScript file.
fax2tiff | creates a TIFF Class F fax file from raw fax data.
pal2rgb | converts a palette color TIFF image to a full color image.
ppm2tiff | creates a TIFF file from a PPM image file.
raw2tiff | converts a raw byte sequence into TIFF.
tiff2bw | converts a color TIFF image to grayscale.
tiff2pdf | converts a TIFF image to a PDF document.
tiff2ps | converts a TIFF image to a PostScript file.
tiff2rgba | converts a wide variety of TIFF images into an RGBA TIFF image.
tiffcmp | compares two TIFF files.
tiffcp | copies (and possibly converts) a TIFF file.
tiffcrop | selects, copies, crops, converts, extracts and/or processes one or more TIFF files.
tiffdither | converts a grayscale image to bilevel using dithering.
tiffdump | prints verbatim information about TIFF files.
tiffgt | displays an image stored in a TIFF file.
tiffinfo | prints information about TIFF files.
tiffmedian | applies the median cut algorithm to data in a TIFF file.
tiffset | sets the value of a TIFF header to a specified value.
tiffsplit | splits a multi-image TIFF into single-image TIFF files.
`libtiff.so` | contains the API functions used by the libtiff programs as well as other programs to read and write TIFF files.
`libtiffxx.so` | contains the C++ API functions used by programs to read and write TIFF files.

Last updated on 2019-08-16 20:24:05 -0700

- Prev

  librsvg-2.44.14

- Next

  libwebp-1.0.3

- Up
- Home