TIFF

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (added link to jhove TIFF module specs)
(Specifications)
 
(84 intermediate revisions by 9 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|tiff}}, {{ext|tif}}
+
|thiscat=TIFF
 +
|extensions={{ext|tif}}, {{ext|tiff}}
 
|mimetypes={{mimetype|image/tiff}}
 
|mimetypes={{mimetype|image/tiff}}
 +
|locfdd={{LoCFDD|fdd000022}}
 
|pronom={{PRONOM|fmt/353}}
 
|pronom={{PRONOM|fmt/353}}
 +
|wikidata={{wikidata|Q215106}}
 +
|released=1986
 
}}
 
}}
 
'''TIFF''', formerly known as '''Tag(ged) Image File Format''', is an image format capable of storing multiple high quality images in a single file.
 
'''TIFF''', formerly known as '''Tag(ged) Image File Format''', is an image format capable of storing multiple high quality images in a single file.
  
A TIFF image may be uncompressed or use a compression scheme internally.  Two of the most widely used compression schemes in TIFF files are lossless, including [[LZW]] and, for bitonal images [[CCITT Group 4]], as used for facsimile transmission [fax].  JPEG baseline DCT-based lossy compression is also used.
+
A TIFF image may be uncompressed or use a compression scheme internally.  Two of the most widely used compression schemes in TIFF files are lossless, including [[LZW]] and, for bitonal images [[CCITT Group 4]], as used for facsimile transmission [fax].  [[JPEG]] baseline DCT-based lossy compression is also used.
  
Several subtypes and extensions of [[TIFF]] exist, including: [[TIFF/EP]], [[TIFF/IT]], [[DNG]], [[GeoTIFF]], and [[BigTIFF]].  Multi-image TIFFs may represent sequences of images (such as scanned pages of a document), image tiles, or different versions of the same image, for example Pyramid TIFFs that incorporate images at different resolutions (often tiled).  Some software that can read and display a TIFF file may only open the primary image.
+
Several subtypes and extensions of [[TIFF]] exist, including [[TIFF/EP]], [[TIFF/IT]], [[DNG]], [[GeoTIFF]], [[TIFF-FX]], and [[BigTIFF]].  Multi-image TIFFs may represent sequences of images (such as scanned pages of a document), image tiles, or different versions of the same image, for example Pyramid TIFFs that incorporate images at different resolutions (often tiled).  Some software that can read and display a TIFF file may only open the primary image.
  
== Specifications ==
+
TI/A (formerly TIFF/A) is a proposed archival standard based on TIFF (but no longer using its name due to objections by Adobe, which owns the rights to the name TIFF) which is in progress of development.
  
* [http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf TIFF, Revision 6.0] (1992-06-03)
+
== Identification ==
** TIFF Revision 5.0 (1988-08-08)
+
TIFF files begin with bytes <code>4D 4D 00 2A</code> (big-[[Endianness|endian]]), or <code>49 49 2A 00</code> (little-endian).  
*** [http://cool.conservation-us.org/bytopic/imaging/std/tiff5.html HTML]
+
*** [http://www.martinreddy.net/gfx/2d/TIFF-5.txt Text]
+
** Tag Image File Format Rev 4.0 (1987-04-31)
+
*** [http://cool.conservation-us.org/bytopic/imaging/std/tiff4.html HTML]
+
*** [http://www.martinreddy.net/gfx/2d/TIFF-4.txt Text]
+
* [http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf Adobe PageMaker 6.0 TIFF Technical Notes] (1995-09-14)
+
* [http://partners.adobe.com/public/developer/en/tiff/TIFFphotoshop.pdf Adobe Photoshop TIFF Technical Notes] (2002-03-22)
+
* [http://chriscox.org/TIFFTN3d1.pdf Adobe Photoshop TIFF Technical Note 3] (2005-04-08)
+
  
== Versions / Conformance levels ==
+
This does not account for [[BigTIFF]] format, which you may or may not consider to be a kind of TIFF.
* [[TIFF/IT-FP:1998]]
+
* [[TIFF/IT-CT:1998]]
+
* [[TIFF/IT-LW:1998]]
+
* [[TIFF/IT-HC:1998]]
+
* [[TIFF/IT-MP:1998]]
+
* [[TIFF/IT-BP:1998]]
+
* [[TIFF/IT-BL:1998]]
+
* [[TIFF/IT-FP/P1:1998]]
+
* [[TIFF/IT-CT/P1:1998]]
+
* [[TIFF/IT-LW/P1:1998]]
+
* [[TIFF/IT-HC/P1:1998]]
+
* [[TIFF/IT-MP/P1:1998]]
+
* [[TIFF/IT-BP/P1:1998]]
+
* [[TIFF/IT-BL/P1:1998]]
+
* [[TIFF/IT-FP:2003]]
+
* [[TIFF/IT-CT:2003]]
+
* [[TIFF/IT-LW:2003]]
+
* [[TIFF/IT-HC:2003]]
+
* [[TIFF/IT-MP:2003]]
+
* [[TIFF/IT-BP:2003]]
+
* [[TIFF/IT-BL:2003]]
+
* [[TIFF/IT-SD:2003]]
+
* [[TIFF/IT-FP/P1:2003]]
+
* [[TIFF/IT-CT/P1:2003]]
+
* [[TIFF/IT-LW/P1:2003]]
+
* [[TIFF/IT-HC/P1:2003]]
+
* [[TIFF/IT-MP/P1:2003]]
+
* [[TIFF/IT-BP/P1:2003]]
+
* [[TIFF/IT-BL/P1:2003]]
+
* [[TIFF/IT-FP/P2:2003]]
+
* [[TIFF/IT-CT/P2:2003]]
+
* [[TIFF/IT-LW/P2:2003]]
+
* [[TIFF/IT-HC/P2:2003]]
+
* [[TIFF/IT-MP/P2:2003]]
+
* [[TIFF/IT-BP/P2:2003]]
+
* [[TIFF/IT-BL/P2:2003]]
+
* [[TIFF/IT-SD/P2:2003]]
+
  
== Metadata tags ==
+
=== File signatures ===
 +
Some TIFF-like formats use a different file signature (the first few bytes of the file) to help identify them. Some of the known signatures are listed here.
  
 +
(For formats lacking a public specification, this table may include a hypothetical signature for a byte order that has not been observed.)
 +
 +
{| class="wikitable"
 +
! Big-endian signature
 +
! Little-endian signature
 +
! Format
 +
|-
 +
|<code>4d 4d 00 2a</code> || <code>49 49 2a 00</code> || TIFF
 +
|-
 +
|<code>4d 4d 00 2b</code> || <code>49 49 2b 00</code> || [[BigTIFF]]
 +
|-
 +
|<code>4d 4d 00 55</code> || <code>49 49 55 00</code> || [[Panasonic RAW/RW2]]
 +
|-
 +
|                        || <code>49 49 bc 01</code> || [[JPEG XR]]
 +
|-
 +
|                        || <code>49 49 4e 31</code> || [[NIFF (Navy Image File Format)]]
 +
|-
 +
|<code>4d 4d 43 52</code> || <code>49 49 52 43</code> || [[DNG camera profile]]
 +
|-
 +
|<code>4d 4d 4f 52</code> || <code>49 49 52 4f</code> || [[Olympus ORF]]
 +
|-
 +
|<code>4d 4d 53 52</code> || <code>49 49 52 53</code> || [[Olympus ORF]]
 +
|-
 +
|                        || <code>45 50 2a 00</code> || [[MDI]]
 +
|}
 +
 +
Non-TIFF formats that could be mistaken for TIFF include:
 +
* [[3DS]]
 +
* [[Picture Publisher]]
 +
 +
== Compression ==
 +
Tag 259 indicates the image compression scheme, as a coded integer. Some of the known compression schemes are listed below. Some of these are not used in genuine TIFF files, but only in other TIFF-like formats.
 +
 +
{| class="wikitable"
 +
! Code
 +
! Compression scheme
 +
|-
 +
|1 || uncompressed
 +
|-
 +
|2 || CCITTRLE. 1-dimensional [[CCITT Group 3]]. Essentially the same as code 3, but with different settings. There are no end-of-line markers, and each row is aligned on a byte boundary. See this [http://www.fileformat.info/mirror/egff/ch09_05.htm#CH09-DMYID.1.2 description] from the [[Encyclopedia of Graphics File Formats]].
 +
|-
 +
|3 || 1- or 2-dimensional [[CCITT Group 3]], depending on the value of T4Options bit 0.
 +
|-
 +
|4 || [[CCITT Group 4]]
 +
|-
 +
|5 || [[LZW]]
 +
|-
 +
|6 || "Old style" [[JPEG]]
 +
|-
 +
|7 || "New style" [[JPEG]]
 +
|-
 +
|8 || [[DEFLATE]] ([[zlib]] format)
 +
|-
 +
|9, 10 || [[JBIG]] (refer to [[TIFF-FX]])
 +
|-
 +
|32766 || [[NeXT 2-bit RLE]]
 +
|-
 +
|32767 || (Used by [[Sony ARW]].)
 +
|-
 +
|32769 || Packed RAW / NIKON_PACK (Used by [[Epson ERF]].)
 +
|-
 +
|32770 || (Used by [[Samsung SRW]].)
 +
|-
 +
|32771 || CCITTRLEW. Same as code 2, except that rows are aligned on a 2-byte boundary.
 +
|-
 +
|32773 || [[PackBits]]
 +
|-
 +
|32809 || [[ThunderScan compression]]
 +
|-
 +
|32867 || Kodak KDC (unconfirmed)
 +
|-
 +
|32895, 32896, 32897, 32898 || IT8CTPAD, IT8LW, IT8MP, IT8BL (refer to [[TIFF/IT]])
 +
|-
 +
|32908 || PIXARFILM. Pixar 10-bit LZW
 +
|-
 +
|32909 || PIXARLOG. Pixar companded 11-bit ZIP
 +
|-
 +
|32946 || [[DEFLATE]] (same as code 8)
 +
|-
 +
|32947 || (Used by [[Kodak]] DCS.)
 +
|-
 +
|33003, 33005 || (Used by [[Aperio SVS]].)
 +
|-
 +
|34661 || [[JBIG]]
 +
|-
 +
|34676 || SGILOG. 32-bit SGI Log Luminance RLE
 +
|-
 +
|34677 || SGILOG24. 24-bit SGI Log Luminance packed
 +
|-
 +
|34692 || (Used by [[LuraDocument Format]].)
 +
|-
 +
|34712 || [[JPEG 2000]]
 +
|-
 +
|34713 || (Used by [[Nikon]] NEF.)
 +
|-
 +
|34715 || [[JBIG2]] ([[TIFF-FX]] extension)
 +
|-
 +
|34718, 34719, 34720 || (Used by [[MDI]].)
 +
|-
 +
|34887 || [[LERC]]
 +
|-
 +
|34892 || Lossy JPEG (refer to [[DNG]])
 +
|-
 +
|34925 || [[LZMA2]]
 +
|}
 +
 +
Unregistered/private/rogue compression codes:
 +
{| class="wikitable"
 +
! Code
 +
! Compression scheme
 +
|-
 +
|99 || JPEG (Used by [[Leaf MOS]].)
 +
|-
 +
|262 || Kodak 262 (unconfirmed)
 +
|-
 +
|50000 || [[Zstandard]]
 +
|-
 +
|50001 || [[WebP]]
 +
|-
 +
|50002 || [[JPEG XL]]
 +
|-
 +
|65000 || (Used by [[Kodak]] DCR.)
 +
|-
 +
|65535 || (Used by [[Pentax PEF]].)
 +
|}
 +
 +
== Color types ==
 +
Tag 262 indicates the color type ("photometric interpretation") of the image, as a coded integer. Some of the known color types are listed below.
 +
 +
{| class="wikitable"
 +
! Code
 +
! Color type
 +
|-
 +
|0 || Grayscale or bi-level, white is 0
 +
|-
 +
|1 || Grayscale or bi-level, black is 0
 +
|-
 +
|2 || RGB
 +
|-
 +
|3 || Palette color
 +
|-
 +
|5 || CMYK
 +
|-
 +
|6 || YCbCr
 +
|-
 +
|8 || CIE L*a*b*
 +
|-
 +
|9 || ICC L*a*b*
 +
|-
 +
|10 || ITU L*a*b* (refer to [[TIFF-FX]])
 +
|-
 +
|32803 || CFA (refer to [[DNG]])
 +
|-
 +
|32844 || CIE Log2(L)
 +
|-
 +
|32845 || CIE Log2(L) (u',v')
 +
|-
 +
|34892 || LinearRaw (refer to [[DNG]])
 +
|}
 +
 +
== Related formats ==
 +
 +
See also [[:Category:TIFF]].
 +
 +
* Tag 700 contains [[XMP]] data.
 +
* Tag 32932 contains [[TIFF annotation data]].
 +
* Tag 33723 contains [[IPTC-IIM]] data.
 +
* Tag 34152 is for [[AFCP]].
 +
* Tag 34377 contains [[Photoshop Image Resources]].
 +
* Tags 34665 (Exif IFD), 34853 (GPS IFD), and 40965 (Interoperability IFD) point to [[Exif]] directories.
 +
* Tag 34675 contains an [[ICC profile]].
 +
* Tag 37680: See [[OLE Property Set]].
 +
* Tag 37724 (ImageSourceData) contains (after a 36-byte signature) a "series of tagged blocks", as described in the Photoshop [[PSD]] specification and the ''Adobe Photoshop TIFF Technical Notes'' document. In some TIFF files, this data has been observed to use little-endian byte order, with block signatures of "MIB8" instead of the usual "8BIM".
 +
* Tag 50933 (ExtraCameraProfiles) points to [[DNG camera profile|DNG camera profiles]].
 +
* [[Cameras and Digital Image Sensors|Raw camera formats]] are often based on TIFF.
 +
 +
== Specifications ==
 +
* [https://web.archive.org/web/20240105065600/https://developer.adobe.com/content/dam/udp/en/open/standards/tiff/TIFF6.pdf TIFF, Revision 6.0 (archived)] (1992-06-03)
 +
* TIFF Revision 5.0 (1988-08-08): [http://cool.conservation-us.org/bytopic/imaging/std/tiff5.html HTML], [http://www.martinreddy.net/gfx/2d/TIFF-5.txt Text], [https://web.archive.org/web/20040906203648/http://myfileformats.com/files/TIFF_50.ZIP TIFF_50.DOC]
 +
* Tag Image File Format Rev 4.0 (1987-04-31): [http://cool.conservation-us.org/bytopic/imaging/std/tiff4.html HTML], [http://www.martinreddy.net/gfx/2d/TIFF-4.txt Text]
 +
* [https://web.archive.org/web/20150906224809/http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf Adobe PageMaker 6.0 TIFF Technical Notes (archived)] (1995-09-14)
 +
* [https://web.archive.org/web/20150907180418/http://partners.adobe.com/public/developer/en/tiff/TIFFphotoshop.pdf Adobe Photoshop TIFF Technical Notes (archived)] (2002-03-22) - Defines tag 37724, compression types 7 and 8, photometric interpretation types 8 and 9
 +
* [http://chriscox.org/TIFFTN3d1.pdf Adobe Photoshop TIFF Technical Note 3] (2005-04-08)
 +
* [http://www.digitalmeetsculture.net/wp-content/uploads/2015/04/EASY-INNOVA-4.-TIFF-A-Standard-Proposal.pdf TIFF/A draft specification] (2015-02)
 +
 +
=== Metadata tags ===
 +
* [http://www.awaresystems.be/imaging/tiff/tifftags.html AWare Systems TIFF Tag Reference]
 
* http://www.digitizationguidelines.gov/guidelines/TIFF_Metadata_Final.pdf
 
* http://www.digitizationguidelines.gov/guidelines/TIFF_Metadata_Final.pdf
 
* http://www.digitalpreservation.gov/formats/content/tiff_tags.shtml
 
* http://www.digitalpreservation.gov/formats/content/tiff_tags.shtml
  
== Sample images ==
+
== Metaformat files ==
  
 +
* [https://www.synalysis.net/Grammars/tiff.grammar Synalysis grammar file] (for Hexinator / Synalize It!; [[Synalysis grammar file|more details]])
 +
* [http://andreas-romeyke.de/okteta_tiff_HEAD.tar.gz Okteta structure file] (for Okteta; [[Okteta grammar file|more details]])
 +
* [http://andreas-romeyke.de/kaitai_struct_formats_HEAD.tar.gz Kaitai grammar file] (for [[Kaitai_Struct|Kaitai]]; own implementation for TIFF)
 +
 +
== Software ==
 +
Most multi-format image viewers and editors support TIFF to some extent. Applications listed here have been selected arbitrarily.
 +
* [[Konvertor]]
 +
* {{Libtiff}}
 +
* [https://github.com/GPHemsley/tiff-js TIFF.js]
 +
* [[XnView]]
 +
* [http://www.irfanview.com/ IrfanView]
 +
* [http://andreas-romeyke.de/software.html#_fixit_tiff fixit_tiff (repairs TIFF files, example: broken datetime, wrong tag order and many more errors, also archeological tools included)]
 +
* [http://andreas-romeyke.de/software.html#_checkit_tiff checkit_tiff (validates baseline TIFFs against textual rules, incredible fast and very deep analysis)]
 +
 +
== Sample files ==
 
* http://www.fileformat.info/format/tiff/sample/index.htm
 
* http://www.fileformat.info/format/tiff/sample/index.htm
* http://www.remotesensing.org/libtiff/images.html
+
* {{Libtiff|images.html|TIFF Test Images }}
 
* http://people.sc.fsu.edu/~jburkardt/data/tif/tif.html
 
* http://people.sc.fsu.edu/~jburkardt/data/tif/tif.html
 
* https://github.com/openplanets/format-corpus/tree/master/tiff-examples
 
* https://github.com/openplanets/format-corpus/tree/master/tiff-examples
 +
* https://code.google.com/p/imagetestsuite/wiki/TIFFTestSuite
 +
* [https://github.com/openpreserve/format-corpus/tree/master/tiff-examples/old-style-jpeg-compression TIFF with old-style JPEG compression]
 +
* {{DexvertSamples|image/tiff}}
  
 
== External links ==
 
== External links ==
 
+
* [[Wikipedia:Tagged Image File Format|Wikipedia article]]
 +
* {{EGFF|tiff|TIFF File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]
 
* [http://partners.adobe.com/public/developer/tiff/index.html Adobe Developer Resources for TIFF]
 
* [http://partners.adobe.com/public/developer/tiff/index.html Adobe Developer Resources for TIFF]
* [http://www.remotesensing.org/libtiff/ LibTIFF]
+
* [https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ Adobe Photoshop File Formats Specification] from October 2013
* [https://github.com/GPHemsley/tiff-js TIFF.js]
+
* [http://www.digitalpreservation.gov/formats/fdd/fdd000022.shtml TIFF, Revision 6.0, from Library of Congress resource on Sustainability of Digital Formats]
+
 
* [https://bytebucket.org/jhove2/main/wiki/documents/JHOVE2-TIFF-module-spec-2-0-0.pdf JHOVE2 TIFF Module Specification 2.0.0] (useful TIFF information)
 
* [https://bytebucket.org/jhove2/main/wiki/documents/JHOVE2-TIFF-module-spec-2-0-0.pdf JHOVE2 TIFF Module Specification 2.0.0] (useful TIFF information)
 +
* [https://twitter.com/angealbertini/status/532274856151109632/photo/1 TIFF chart]
 +
* [http://wiki.dpconline.org/images/f/f3/TIFF_Assessment_v1.2_external.pdf TIFF Format Preservation Assessment (British Library)]
 +
* [https://github.com/friesey/preservation-tools/releases/tag/v0.3_TiffAnalysis_alpha TIFF Analysis 3rd Release]
 +
* [http://ti-a.org/ TI/A Standard Initiative]
 +
* [http://openpreservation.org/blog/2017/04/09/using-exiftool-to-address-tag-out-of-sequence-errors-in-images-and-a-101-level-dive-into-tags/ Using EXIFTool to address “Tag out of sequence” errors in images (and a 101 level dive into tags)]
 +
* [https://github.com/corkami/pics/blob/master/binary/TIFF_LE.png Graphic documenting format (LE)]
 +
* [https://github.com/corkami/pics/blob/master/binary/TIFF_BE.png Graphic documenting format (BE)]
 +
 +
[[Category:Adobe]]
 +
[[Category:Aldus]]

Latest revision as of 22:27, 2 April 2024

File Format
Name TIFF
Ontology
Extension(s) .tif, .tiff
MIME Type(s) image/tiff
LoCFDD fdd000022
PRONOM fmt/353
Wikidata ID Q215106
Released 1986

TIFF, formerly known as Tag(ged) Image File Format, is an image format capable of storing multiple high quality images in a single file.

A TIFF image may be uncompressed or use a compression scheme internally. Two of the most widely used compression schemes in TIFF files are lossless, including LZW and, for bitonal images CCITT Group 4, as used for facsimile transmission [fax]. JPEG baseline DCT-based lossy compression is also used.

Several subtypes and extensions of TIFF exist, including TIFF/EP, TIFF/IT, DNG, GeoTIFF, TIFF-FX, and BigTIFF. Multi-image TIFFs may represent sequences of images (such as scanned pages of a document), image tiles, or different versions of the same image, for example Pyramid TIFFs that incorporate images at different resolutions (often tiled). Some software that can read and display a TIFF file may only open the primary image.

TI/A (formerly TIFF/A) is a proposed archival standard based on TIFF (but no longer using its name due to objections by Adobe, which owns the rights to the name TIFF) which is in progress of development.

Contents

[edit] Identification

TIFF files begin with bytes 4D 4D 00 2A (big-endian), or 49 49 2A 00 (little-endian).

This does not account for BigTIFF format, which you may or may not consider to be a kind of TIFF.

[edit] File signatures

Some TIFF-like formats use a different file signature (the first few bytes of the file) to help identify them. Some of the known signatures are listed here.

(For formats lacking a public specification, this table may include a hypothetical signature for a byte order that has not been observed.)

Big-endian signature Little-endian signature Format
4d 4d 00 2a 49 49 2a 00 TIFF
4d 4d 00 2b 49 49 2b 00 BigTIFF
4d 4d 00 55 49 49 55 00 Panasonic RAW/RW2
49 49 bc 01 JPEG XR
49 49 4e 31 NIFF (Navy Image File Format)
4d 4d 43 52 49 49 52 43 DNG camera profile
4d 4d 4f 52 49 49 52 4f Olympus ORF
4d 4d 53 52 49 49 52 53 Olympus ORF
45 50 2a 00 MDI

Non-TIFF formats that could be mistaken for TIFF include:

[edit] Compression

Tag 259 indicates the image compression scheme, as a coded integer. Some of the known compression schemes are listed below. Some of these are not used in genuine TIFF files, but only in other TIFF-like formats.

Code Compression scheme
1 uncompressed
2 CCITTRLE. 1-dimensional CCITT Group 3. Essentially the same as code 3, but with different settings. There are no end-of-line markers, and each row is aligned on a byte boundary. See this description from the Encyclopedia of Graphics File Formats.
3 1- or 2-dimensional CCITT Group 3, depending on the value of T4Options bit 0.
4 CCITT Group 4
5 LZW
6 "Old style" JPEG
7 "New style" JPEG
8 DEFLATE (zlib format)
9, 10 JBIG (refer to TIFF-FX)
32766 NeXT 2-bit RLE
32767 (Used by Sony ARW.)
32769 Packed RAW / NIKON_PACK (Used by Epson ERF.)
32770 (Used by Samsung SRW.)
32771 CCITTRLEW. Same as code 2, except that rows are aligned on a 2-byte boundary.
32773 PackBits
32809 ThunderScan compression
32867 Kodak KDC (unconfirmed)
32895, 32896, 32897, 32898 IT8CTPAD, IT8LW, IT8MP, IT8BL (refer to TIFF/IT)
32908 PIXARFILM. Pixar 10-bit LZW
32909 PIXARLOG. Pixar companded 11-bit ZIP
32946 DEFLATE (same as code 8)
32947 (Used by Kodak DCS.)
33003, 33005 (Used by Aperio SVS.)
34661 JBIG
34676 SGILOG. 32-bit SGI Log Luminance RLE
34677 SGILOG24. 24-bit SGI Log Luminance packed
34692 (Used by LuraDocument Format.)
34712 JPEG 2000
34713 (Used by Nikon NEF.)
34715 JBIG2 (TIFF-FX extension)
34718, 34719, 34720 (Used by MDI.)
34887 LERC
34892 Lossy JPEG (refer to DNG)
34925 LZMA2

Unregistered/private/rogue compression codes:

Code Compression scheme
99 JPEG (Used by Leaf MOS.)
262 Kodak 262 (unconfirmed)
50000 Zstandard
50001 WebP
50002 JPEG XL
65000 (Used by Kodak DCR.)
65535 (Used by Pentax PEF.)

[edit] Color types

Tag 262 indicates the color type ("photometric interpretation") of the image, as a coded integer. Some of the known color types are listed below.

Code Color type
0 Grayscale or bi-level, white is 0
1 Grayscale or bi-level, black is 0
2 RGB
3 Palette color
5 CMYK
6 YCbCr
8 CIE L*a*b*
9 ICC L*a*b*
10 ITU L*a*b* (refer to TIFF-FX)
32803 CFA (refer to DNG)
32844 CIE Log2(L)
32845 CIE Log2(L) (u',v')
34892 LinearRaw (refer to DNG)

[edit] Related formats

See also Category:TIFF.

  • Tag 700 contains XMP data.
  • Tag 32932 contains TIFF annotation data.
  • Tag 33723 contains IPTC-IIM data.
  • Tag 34152 is for AFCP.
  • Tag 34377 contains Photoshop Image Resources.
  • Tags 34665 (Exif IFD), 34853 (GPS IFD), and 40965 (Interoperability IFD) point to Exif directories.
  • Tag 34675 contains an ICC profile.
  • Tag 37680: See OLE Property Set.
  • Tag 37724 (ImageSourceData) contains (after a 36-byte signature) a "series of tagged blocks", as described in the Photoshop PSD specification and the Adobe Photoshop TIFF Technical Notes document. In some TIFF files, this data has been observed to use little-endian byte order, with block signatures of "MIB8" instead of the usual "8BIM".
  • Tag 50933 (ExtraCameraProfiles) points to DNG camera profiles.
  • Raw camera formats are often based on TIFF.

[edit] Specifications

[edit] Metadata tags

[edit] Metaformat files

[edit] Software

Most multi-format image viewers and editors support TIFF to some extent. Applications listed here have been selected arbitrarily.

[edit] Sample files

[edit] External links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox