TIFF: Tagged Image File Format & Professional Image Archive
TIFF (Tagged Image File Format) is one of the most versatile and widely used image formats in professional photography, document scanning, GIS (Geographic Information Systems), and archival applications. Developed by Aldus Corporation (now merged with Adobe), TIFF's flexibility and support for lossless compression make it the standard for high-quality image storage and interchange.
Core Architecture & Flexibility
TIFF's fundamental design principle is "tag-based" metadata. Every TIFF file contains a collection of tags that describe the image structure, color space, compression method, and resolution. This flexibility allows TIFF to store:
- Single-page raster images (standard photography)
- Multi-image documents (scanned documents, page sequences)
- Hierarchical tile structures for large-format images
- Embedded color profiles (ICC profiles for color-accurate reproduction)
- Geospatial metadata (for GeoTIFF applications)
The TIFF specification supports both little-endian and big-endian byte ordering, making it platform-agnostic and compatible with both legacy systems and modern architectures.
Compression Methods
TIFF supports multiple compression algorithms, allowing users to choose the optimal balance between file size and processing speed:
LZW (Lempel-Ziv-Welch) Compression
- Lossless compression algorithm widely used in TIFF and GIF
- Reduces file size by 30-50% for typical photographs
- Single-pass compression, efficient for both encoding and decoding
- Originally patent-encumbered (patents expired 2003), now freely available
- Ideal for documents with solid colors and text
DEFLATE (zlib) Compression
- Combines LZ77 deflation with Huffman coding
- Achieves 40-60% compression for photographic images
- Used in PNG and modern TIFF implementations
- Standard on Unix/Linux systems
- Better compression ratio than LZW but slightly slower encoding
JPEG-in-TIFF
- Embeds JPEG-compressed data within TIFF container
- Combines JPEG lossy compression with TIFF's flexibility
- Reduces file size to 5-15% of original for photographs
- Preserves TIFF metadata and multi-image support
- Useful when JPEG quality loss is acceptable
PackBits (RLE) Compression
- Simple run-length encoding for solid-color images
- Effective for documents, screenshots, synthetic graphics
- Minimal compression overhead (fast encoding/decoding)
- Can actually increase file size for complex images
CCITT Group 3 & Group 4 Compression
- Fax-based compression standards for bilevel (black/white) images
- Group 4: 10-20x compression for scanned documents
- Lossless black/white compression, industry standard for document scanning
- Group 3: Includes error recovery, 2D compression variant
Color Models & Bit Depths
TIFF supports comprehensive color representation:
Bilevel Images (1-bit)
- Pure black and white (no grayscale)
- Used for scanned documents, fax, text
- Combined with Group 3/Group 4 compression achieves 50:1 ratios
- File size: 1 MB document ≈ 20-50 KB bilevel TIFF
Grayscale (8-bit, 16-bit)
- 8-bit: 256 gray levels, standard for most grayscale photography
- 16-bit: 65,536 levels for professional medical imaging, archival
- 12-bit variations for scientific applications
- File size: 8-bit grayscale photo (4000×3000px) ≈ 36 MB uncompressed
Palette (Indexed Color) (1-8 bits)
- Limited color palette (2 to 256 colors)
- Efficient for graphics, logos, illustrations
- Reduces file size compared to full RGB
- Supports custom color tables
RGB Color (8-bit, 16-bit, 32-bit)
- 8-bit RGB: 24-bit total (8 per channel), standard for web/print
- 16-bit RGB: 48-bit total, professional photography and HDR preview
- 32-bit RGB: adds alpha channel for transparency (uncommon in TIFF)
- File size: 8-bit RGB photo (4000×3000px) ≈ 36 MB uncompressed
CMYK Color (8-bit, 16-bit)
- Cyan, Magenta, Yellow, Key (black) for print production
- 8-bit CMYK: 32-bit total, standard for print workflows
- 16-bit CMYK: 64-bit total for professional prepress
- Preserves spot color separation for accurate reproduction
- File size: 8-bit CMYK (4000×3000px) ≈ 48 MB uncompressed
YCbCr Color
- Digital video color space, Y (luma) + Cb/Cr (chrominance)
- Used for JPEG-in-TIFF and video frame exports
- Allows chroma subsampling (4:4:4, 4:2:2, 4:2:0)
Multi-Image & Tile Organization
Multi-Image TIFF (TIFF with IFD chains)
- Single file containing multiple images (pages)
- Used for scanned document sequences, multi-page forms
- Each page can have different compression, resolution, color model
- Industry standard for document management systems (DMS)
- Example: 500-page scan = 500 MB single TIFF vs. 500 individual files
Tiled TIFF
- Images organized into rectangular tiles (e.g., 256×256 pixels)
- Enables efficient streaming and partial loading
- Critical for large-format GIS data (satellite imagery, maps)
- Allows random access to image regions without decompression
- GeoTIFF uses tiling for continent-scale datasets (> 10 GB)
GeoTIFF: Geospatial Metadata
GeoTIFF extends TIFF with geospatial tags:
- Coordinate System Tags: Latitude/longitude, UTM grid, projection system
- Spatial Resolution: Meters per pixel (ground distance)
- Tie-Point Records: Maps pixel coordinates to real-world locations
- Scale Factors: Rotation, skew for georeferenced imagery
- Supported Projections: Transverse Mercator, Lambert Conformal, Polar Stereographic, etc.
GeoTIFF enables direct integration with GIS software (QGIS, ArcGIS) without separate world files (.jgw).
Example: Satellite image (10,000×10,000 pixels, 30cm resolution) with GeoTIFF tags = 300 MB file covers 3 km² with full georeferencing.
Document Scanning & Preservation
TIFF is the archival standard for digitized documents:
- Group 4 Compression: 500-page book scan ≈ 200-300 MB (vs. 2-3 GB uncompressed)
- Color Accuracy: ICC profiles preserve original document colors
- Metadata Preservation: XMP, EXIF tags store capture date, scanner model, resolution
- Long-term Viability: Lossless compression ensures no degradation on repeated access
- Legal Admissibility: TIFF archives accepted as legal document evidence (no lossy compression)
Government digitization projects (National Archives, Library of Congress) mandate TIFF with specific compression and metadata standards.
File Size Comparisons
| Scenario | Resolution | Bit Depth | Compression | Size |
|---|---|---|---|---|
| Scanned B/W document (300 DPI) | 2550×3300 | 1-bit | Group 4 | 100 KB |
| Color photograph (camera output) | 4000×3000 | 8-bit RGB | LZW | 20 MB |
| Grayscale medical X-ray (16-bit) | 4096×4096 | 16-bit | DEFLATE | 64 MB |
| GeoTIFF satellite image (30cm) | 10000×10000 | 8-bit RGB | JPEG-in-TIFF | 150 MB |
| Uncompressed same satellite image | 10000×10000 | 8-bit RGB | None | 300 MB |
Typical Use Cases
Professional Photography: RAW processing workflows often export to TIFF for archival (uncompressed or LZW), preserving full color depth and metadata before conversion to JPEG for distribution.
Document Scanning: Law firms, accountants, and government agencies scan documents as Group 4 bilevel TIFFs—achieves high compression (50:1) while maintaining perfect text clarity.
Medical Imaging: DICOM data often exported to TIFF for archival. Grayscale 16-bit or 12-bit TIFFs preserve the full dynamic range of X-rays, CT scans, and ultrasound.
GIS & Remote Sensing: Satellite and aerial imagery stored as GeoTIFF with tile organization. ArcGIS, QGIS, and specialized geospatial software require GeoTIFF for georeferencing.
Print Production: CMYK TIFFs with ICC profiles sent to print shops for accurate color reproduction. Spot color separations embedded in CMYK data.
Archival & Preservation: Libraries, museums, and cultural institutions standardize on TIFF for long-term digitization (Library of Congress, National Archives). No lossy compression ensures future re-export without degradation.
TIFF remains the gold standard for professional imaging where quality, flexibility, and long-term viability are paramount.