# LibTIFF - TIFF Library and Utilities

References
Name | Reference
--- | ---
Home Page #1 | http://www.simplesystems.org/libtiff/
Home Page #2 | https://libtiff.gitlab.io/libtiff/
Latest Stable Release | v4.7.2
Primary Download Site | download.osgeo.org
Mailing List | tiff@lists.osgeo.org
List subscription | http://lists.osgeo.org/mailman/listinfo/tiff/
Source repository | https://gitlab.com/libtiff/libtiff

The LibTIFF software provides support for the Tag Image File Format (TIFF), a widely used format for storing image data. The latest version of the TIFF specification is TIFF File Format Specification.

Included in this software distribution are:

- a library, `libtiff`, for reading and writing TIFF images

- a small collection of tools for performing simple manipulations of TIFF images

- documentation for the library and tools.

The `libtiff` library, along with associated tool programs, should handle most of your needs for reading and writing TIFF images.

LibTIFF is portable software, supported on various operating systems including UNIX (Linux, BSD, MacOS X) and Windows.

Note

At libtiff v4.6.0, the source code for most TIFF tools (except tiffinfo, tiffdump, tiffcp and tiffset) has been moved to archive/ directory and was not built. tiff2ps and tiff2pdf source code has been moved in a unsupported category, no longer built by default, but were still part of the the source distribution.

With libtiff v4.7.0 those tools were restored.

The following sections are included in this documentation:

- TIFF File Format Specification
  - DRAFT TIFF Technical Note #2
  - LibTIFF Coverage of the TIFF 6.0 Specification
  - BigTIFF Design
  - LibTIFF Coverage of the BigTIFF Specification
- TIFF Test Images
- Building the TIFF Software Distribution
- Terminology
- Using The TIFF Library
- Multi Page / Multi Image TIFF
- TIFF Functions Overview
  - libtiff
  - TIFFAccessTagMethods
  - TIFFbuffer
  - TIFFClientInfo
  - TIFFClose
  - TIFFcodec
  - TIFFcolor
  - TIFFCreateDirectory
  - TIFFCustomDirectory
  - TIFFCustomTagList
  - TIFFDataWidth
  - TIFFDeferStrileArrayWriting
  - TIFFError
  - TIFFFieldDataType
  - TIFFFieldName
  - TIFFFieldPassCount
  - TIFFFieldQuery
  - TIFFFieldReadCount
  - TIFFFieldTag
  - TIFFFieldWriteCount
  - TIFFFlush
  - TIFFGetField
  - TIFFGetMaxCompressionRatio
  - TIFFmemory
  - TIFFMergeFieldInfo
  - TIFFOpen
  - TIFFOpenOptions
  - TIFFPrintDirectory
  - TIFFProcFunctions
  - TIFFquery
  - TIFFReadDirectory
  - TIFFReadEncodedStrip
  - TIFFReadEncodedTile
  - TIFFReadFromUserBuffer
  - TIFFReadRawStrip
  - TIFFReadRawTile
  - TIFFReadRGBAImage
  - TIFFReadRGBAStrip
  - TIFFReadRGBATile
  - TIFFReadScanline
  - TIFFReadTile
  - TIFFRGBAImage
  - TIFFSetDirectory
  - TIFFSetField
  - TIFFSetTagExtender
  - TIFFsize
  - TIFFStrileQuery
  - TIFFstrip
  - TIFFswab
  - TIFFtile
  - TIFFWarning
  - TIFFWriteDirectory
  - TIFFWriteEncodedStrip
  - TIFFWriteEncodedTile
  - TIFFWriteRawStrip
  - TIFFWriteRawTile
  - TIFFWriteScanline
  - TIFFWriteTile
  - _TIFFauxiliary
  - _TIFFRewriteField
- Modifying The TIFF Library
- Defining New TIFF Tags
- TIFF Tools Overview
  - fax2ps
  - fax2tiff
  - pal2rgb
  - ppm2tiff
  - raw2tiff
  - rgb2ycbcr
  - thumbnail
  - tiff2bw
  - tiff2pdf
  - tiff2ps
  - tiff2rgba
  - tiffcmp
  - tiffcp
  - tiffcrop
  - tiffdither
  - tiffdump
  - tiffgt
  - tiffinfo
  - tiffmedian
  - tiffset
  - tiffsplit
- Contributed TIFF Software
- Request For Comments (RFCs)
  - RFC 1: Project Steering Committee Guidelines
  - RFC 2: Restoring Needed LibTIFF Tools
- LibTIFF Project
  - LibTIFF License
  - Mailing List
  - Reporting Bugs
  - Project Steering Committee
  - Acknowledgments
- Release history
  - Changes in TIFF v4.7.2
  - Changes in TIFF v4.7.1
  - Changes in TIFF v4.7.0
  - Changes in TIFF v4.6.0
  - Changes in TIFF v4.5.1
  - Changes in TIFF v4.5.0
  - Changes in TIFF v4.4.0
  - Changes in TIFF v4.3.0
  - Changes in TIFF v4.2.0
  - Changes in TIFF v4.1.0
  - Changes in TIFF v4.0.10
  - Changes in TIFF v4.0.9
  - Changes in TIFF v4.0.8
  - Changes in TIFF v4.0.7
  - Changes in TIFF v4.0.6
  - Changes in TIFF v4.0.5
  - Changes in TIFF v4.0.4
  - Changes in TIFF v4.0.4beta
  - Changes in TIFF v4.0.3
  - Changes in TIFF v4.0.2
  - Changes in TIFF v4.0.1
  - Changes in TIFF v4.0.0
  - Old release history