<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aromeyke</id>
		<title>Just Solve the File Format Problem - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aromeyke"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Special:Contributions/Aromeyke"/>
		<updated>2026-04-15T08:31:22Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Softdisk_Text_Compressor</id>
		<title>Softdisk Text Compressor</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Softdisk_Text_Compressor"/>
				<updated>2020-08-24T09:59:08Z</updated>
		
		<summary type="html">&lt;p&gt;Aromeyke: fixed table size, add link to clean room implementation for encoder/decoder)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Compression&lt;br /&gt;
|extensions={{ext|ctx}}&lt;br /&gt;
|released=1993&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Softdisk Text Compresssor''' was yet another format used by Softdisk Publishing on its diskmagazines in the 1990s. It was not released to the public, but was used as an internal utility to prepare text files for publication, with the decompressor embedded in the &amp;quot;shell&amp;quot; program used to display the articles when the diskmagazine issue was read. It was developed in 1993 and used on some issues of ''Softdisk PC''. It was a simple compression routine designed to squeeze a few bytes out of typical English-language [[ASCII]] files in a time when saving a handful of bytes was still important; the diskmagazines were published on floppy disks and expected to be runnable directly from the disk without installing on a hard drive, so getting those couple of bytes out of the file so it went one 1K disk block smaller was critical to resolve a &amp;quot;disk full&amp;quot; error during the deadline crunch to get out an issue. (You kids have it so easy with your terabyte hard drives...)&lt;br /&gt;
&lt;br /&gt;
The basic technique was to represent a bunch of specific character strings (which was taken from a fixed hand-generated list of common character sequences in text files used by Softdisk) as single bytes in the compressed file, with the bytes corresponding to ASCII control characters (other than CR and LF) and 8-bit characters (#128-#254, with #255 reserved as an escape character) used for this purpose. Character #255 signaled either an escaped special character to be treated literally, or a signal to repeat a character, as shown below.&lt;br /&gt;
&lt;br /&gt;
The format was as follows:&lt;br /&gt;
&lt;br /&gt;
The first six bytes were flag bytes to indicate the file was of this format; they were expected to be (hex) 03 43 54 30 30 31, which was Control-C followed by CT001.&lt;br /&gt;
&lt;br /&gt;
Next was the original filename of the uncompressed file, as a variable-length null-terminated string.&lt;br /&gt;
&lt;br /&gt;
Then followed a table of fixed character sequences which were to be substituted for particular characters in the file. First there were 30 sequences of up to 5 characters, which were the uncompressed strings corresponding to the file input characters #0 - #9, #11 - #12, and #14 - #31 (decimal), in other words the [[C0 controls]] except for carriage return and linefeed. Each such sequence terminated at 5 characters or when a null (#0) was encountered, whichever came first.&lt;br /&gt;
&lt;br /&gt;
Next was a table of two-character sequences, 127 of them corresponding to the file input characters #128-#254.&lt;br /&gt;
&lt;br /&gt;
After this came the compressed data itself. The characters (bytes) were to be read one at a time, and treated as follows (with anything not itemized below, i.e. the ASCII printable characters, treated as literal characters and output as is):&lt;br /&gt;
&lt;br /&gt;
If it is a CR (#13), output a line break. (Linefeeds were stripped and ignored to save that precious one byte per line.)&lt;br /&gt;
&lt;br /&gt;
If it is #0-#9, #11-#12, or #14-31 (other control characters), replace it with the corresponding string sequence in the up-to-five-character table that was read in earlier.&lt;br /&gt;
&lt;br /&gt;
If it is #128-#254, replace it with the corresponding string sequence in the two-character table that was read in earlier.&lt;br /&gt;
&lt;br /&gt;
If it is #255, read the next character (byte). If it is an ASCII printable character (#32-#127), subtract 30 from the byte value and consider this quantity n. Then read one more character c, and output that character n times. (This is handy for encoding sequences of repeated characters such as dashed lines.)&lt;br /&gt;
&lt;br /&gt;
If the character after the #255 character is anything else, output it as a literal. This allows control characters and high-bit characters to be included in the file, though they become two-character sequences in the &amp;quot;compressed&amp;quot; data which could make the file actually get bigger on compression if there are many characters of this sort.&lt;br /&gt;
&lt;br /&gt;
This compression routine can be used on any files in an 8-bit character encoding, but works best on ones limited to 7-bit ASCII.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Softlib]]&lt;br /&gt;
* [[Softdisk Publishing UDF files]]&lt;br /&gt;
* [[Softdisk PC]]&lt;br /&gt;
&lt;br /&gt;
== Sample files ==&lt;br /&gt;
* [https://www.dan.info/sampledata/X03ONLIN.CTX Sample compressed text file]&lt;br /&gt;
&lt;br /&gt;
== Decoder/Encoder ==&lt;br /&gt;
&lt;br /&gt;
A cleanroom implementation can be found at https://art1pirat.spdns.org/art1/ctxer&lt;br /&gt;
&lt;br /&gt;
[[Category:Softdisk]]&lt;/div&gt;</summary>
		<author><name>Aromeyke</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/TIFF</id>
		<title>TIFF</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/TIFF"/>
				<updated>2019-01-28T16:37:48Z</updated>
		
		<summary type="html">&lt;p&gt;Aromeyke: /* Metaformat files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Graphics&lt;br /&gt;
|thiscat=TIFF&lt;br /&gt;
|extensions={{ext|tif}}, {{ext|tiff}}&lt;br /&gt;
|mimetypes={{mimetype|image/tiff}}&lt;br /&gt;
|locfdd={{LoCFDD|fdd000022}}&lt;br /&gt;
|pronom={{PRONOM|fmt/353}}&lt;br /&gt;
}}&lt;br /&gt;
'''TIFF''', formerly known as '''Tag(ged) Image File Format''', is an image format capable of storing multiple high quality images in a single file.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Identification ==&lt;br /&gt;
TIFF files begin with bytes &amp;lt;code&amp;gt;4D 4D 00 2A&amp;lt;/code&amp;gt; (big-[[Endianness|endian]]), or &amp;lt;code&amp;gt;49 49 2A 00&amp;lt;/code&amp;gt; (little-endian). &lt;br /&gt;
&lt;br /&gt;
This does not account for [[BigTIFF]] format, which you may or may not consider to be a kind of TIFF.&lt;br /&gt;
&lt;br /&gt;
=== File signatures ===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
(For formats lacking a public specification, this table may include a hypothetical signature for a byte order that has not been observed.)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Big-endian signature&lt;br /&gt;
! Little-endian signature&lt;br /&gt;
! Format&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 2a&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 2a 00&amp;lt;/code&amp;gt; || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 2b&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 2b 00&amp;lt;/code&amp;gt; || [[BigTIFF]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 55&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 55 00&amp;lt;/code&amp;gt; || [[Panasonic RAW/RW2]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;49 49 bc 01&amp;lt;/code&amp;gt; || [[JPEG XR]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;49 49 4e 31&amp;lt;/code&amp;gt; || [[NIFF (Navy Image File Format)]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 43 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 43&amp;lt;/code&amp;gt; || [[DNG camera profile]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 4f 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 4f&amp;lt;/code&amp;gt; || [[Olympus ORF]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 53 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 53&amp;lt;/code&amp;gt; || [[Olympus ORF]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;45 50 2a 00&amp;lt;/code&amp;gt; || [[MDI]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Non-TIFF formats that could be mistaken for TIFF include:&lt;br /&gt;
* [[3DS]]&lt;br /&gt;
&lt;br /&gt;
== Compression ==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Compression scheme&lt;br /&gt;
|-&lt;br /&gt;
|1 || uncompressed&lt;br /&gt;
|-&lt;br /&gt;
|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]].&lt;br /&gt;
|-&lt;br /&gt;
|3 || 1- or 2-dimensional [[CCITT Group 3]], depending on the value of T4Options bit 0.&lt;br /&gt;
|-&lt;br /&gt;
|4 || [[CCITT Group 4]]&lt;br /&gt;
|-&lt;br /&gt;
|5 || [[LZW]]&lt;br /&gt;
|-&lt;br /&gt;
|6 || &amp;quot;Old style&amp;quot; [[JPEG]]&lt;br /&gt;
|-&lt;br /&gt;
|7 || &amp;quot;New style&amp;quot; [[JPEG]]&lt;br /&gt;
|-&lt;br /&gt;
|8 || [[DEFLATE]]&lt;br /&gt;
|-&lt;br /&gt;
|9, 10 || [[JBIG]] (refer to [[TIFF-FX]])&lt;br /&gt;
|-&lt;br /&gt;
|32766 || [[NeXT 2-bit RLE]]&lt;br /&gt;
|-&lt;br /&gt;
|32767 || (Used by [[Sony ARW]].)&lt;br /&gt;
|-&lt;br /&gt;
|32769 || Packed RAW / NIKON_PACK (Used by [[Epson ERF]].)&lt;br /&gt;
|-&lt;br /&gt;
|32770 || (Used by [[Samsung SRW]].)&lt;br /&gt;
|-&lt;br /&gt;
|32771 || CCITTRLEW. Same as code 2, except that rows are aligned on a 2-byte boundary.&lt;br /&gt;
|-&lt;br /&gt;
|32773 || [[PackBits]]&lt;br /&gt;
|-&lt;br /&gt;
|32809 || [[ThunderScan compression]]&lt;br /&gt;
|-&lt;br /&gt;
|32867 || Kodak KDC (unconfirmed)&lt;br /&gt;
|-&lt;br /&gt;
|32895, 32896, 32897, 32898 || IT8CTPAD, IT8LW, IT8MP, IT8BL (refer to [[TIFF/IT]])&lt;br /&gt;
|-&lt;br /&gt;
|32908 || PIXARFILM. Pixar 10-bit LZW&lt;br /&gt;
|-&lt;br /&gt;
|32909 || PIXARLOG. Pixar companded 11-bit ZIP&lt;br /&gt;
|-&lt;br /&gt;
|32946 || [[DEFLATE]] (same as code 8)&lt;br /&gt;
|-&lt;br /&gt;
|32947 || (Used by [[Kodak]] DCS.)&lt;br /&gt;
|-&lt;br /&gt;
|33003, 33005 || (Used by [[Aperio SVS]].)&lt;br /&gt;
|-&lt;br /&gt;
|34661 || [[JBIG]]&lt;br /&gt;
|-&lt;br /&gt;
|34676 || SGILOG. 32-bit SGI Log Luminance RLE&lt;br /&gt;
|-&lt;br /&gt;
|34677 || SGILOG24. 24-bit SGI Log Luminance packed&lt;br /&gt;
|-&lt;br /&gt;
|34692 || (Used by [[LuraDocument Format]].)&lt;br /&gt;
|-&lt;br /&gt;
|34712 || [[JPEG 2000]]&lt;br /&gt;
|-&lt;br /&gt;
|34713 || (Used by [[Nikon]] NEF.)&lt;br /&gt;
|-&lt;br /&gt;
|34715 || [[JBIG2]] ([[TIFF-FX]] extension)&lt;br /&gt;
|-&lt;br /&gt;
|34718, 34719, 34720 || (Used by [[MDI]].)&lt;br /&gt;
|-&lt;br /&gt;
|34892 || Lossy JPEG (refer to [[DNG]])&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Private/rogue compression codes:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Compression scheme&lt;br /&gt;
|-&lt;br /&gt;
|99 || JPEG (Used by [[Leaf MOS]].)&lt;br /&gt;
|-&lt;br /&gt;
|262 || Kodak 262 (unconfirmed)&lt;br /&gt;
|-&lt;br /&gt;
|65000 || (Used by [[Kodak]] DCR.)&lt;br /&gt;
|-&lt;br /&gt;
|65535 || (Used by [[Pentax PEF]].)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Color types ==&lt;br /&gt;
Tag 262 indicates the color type (&amp;quot;photometric interpretation&amp;quot;) of the image, as a coded integer. Some of the known color types are listed below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Color type&lt;br /&gt;
|-&lt;br /&gt;
|0 || Grayscale or bi-level, white is 0&lt;br /&gt;
|-&lt;br /&gt;
|1 || Grayscale or bi-level, black is 0&lt;br /&gt;
|-&lt;br /&gt;
|2 || RGB&lt;br /&gt;
|-&lt;br /&gt;
|3 || Palette color&lt;br /&gt;
|-&lt;br /&gt;
|5 || CMYK&lt;br /&gt;
|-&lt;br /&gt;
|6 || YCbCr&lt;br /&gt;
|-&lt;br /&gt;
|8 || CIE L*a*b*&lt;br /&gt;
|-&lt;br /&gt;
|9 || ICC L*a*b*&lt;br /&gt;
|-&lt;br /&gt;
|10 || ITU L*a*b* (refer to [[TIFF-FX]])&lt;br /&gt;
|-&lt;br /&gt;
|32803 || CFA (refer to [[DNG]])&lt;br /&gt;
|-&lt;br /&gt;
|32844 || CIE Log2(L)&lt;br /&gt;
|-&lt;br /&gt;
|32845 || CIE Log2(L) (u',v')&lt;br /&gt;
|-&lt;br /&gt;
|34892 || LinearRaw (refer to [[DNG]])&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Related formats ==&lt;br /&gt;
&lt;br /&gt;
See also [[:Category:TIFF]].&lt;br /&gt;
&lt;br /&gt;
* Tag 700 contains [[XMP]] data.&lt;br /&gt;
* Tag 32932 contains [[TIFF annotation data]].&lt;br /&gt;
* Tag 33723 contains [[IPTC]] data.&lt;br /&gt;
* Tag 34377 contains [[Photoshop Image Resources]].&lt;br /&gt;
* Tags 34665 (Exif IFD), 34853 (GPS IFD), and 40965 (Interoperability IFD) point to [[Exif]] directories.&lt;br /&gt;
* Tag 34675 contains an [[ICC profile]].&lt;br /&gt;
* Tag 37680: See [[OLE Property Set]].&lt;br /&gt;
* Tag 37724 (ImageSourceData) contains (after a 36-byte signature) a &amp;quot;series of tagged blocks&amp;quot;, 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 &amp;quot;MIB8&amp;quot; instead of the usual &amp;quot;8BIM&amp;quot;.&lt;br /&gt;
* Tag 50933 (ExtraCameraProfiles) points to [[DNG camera profile|DNG camera profiles]].&lt;br /&gt;
* [[Cameras and Digital Image Sensors|Raw camera formats]] are often based on TIFF.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf TIFF, Revision 6.0] (1992-06-03)&lt;br /&gt;
* 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]&lt;br /&gt;
* 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]&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf Adobe PageMaker 6.0 TIFF Technical Notes] (1995-09-14)&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFFphotoshop.pdf Adobe Photoshop TIFF Technical Notes] (2002-03-22) - Defines tag 37724, compression types 7 and 8, photometric interpretation types 8 and 9&lt;br /&gt;
* [http://chriscox.org/TIFFTN3d1.pdf Adobe Photoshop TIFF Technical Note 3] (2005-04-08)&lt;br /&gt;
* [http://www.digitalmeetsculture.net/wp-content/uploads/2015/04/EASY-INNOVA-4.-TIFF-A-Standard-Proposal.pdf TIFF/A draft specification] (2015-02)&lt;br /&gt;
&lt;br /&gt;
=== Metadata tags ===&lt;br /&gt;
* [http://www.awaresystems.be/imaging/tiff/tifftags.html AWare Systems TIFF Tag Reference]&lt;br /&gt;
* http://www.digitizationguidelines.gov/guidelines/TIFF_Metadata_Final.pdf&lt;br /&gt;
* http://www.digitalpreservation.gov/formats/content/tiff_tags.shtml&lt;br /&gt;
&lt;br /&gt;
== Metaformat files ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.synalysis.net/Grammars/tiff.grammar Synalysis grammar file] (for Hexinator / Synalize It!; [[Synalysis grammar file|more details]])&lt;br /&gt;
* [http://andreas-romeyke.de/okteta_tiff_HEAD.tar.gz Okteta structure file] (for Okteta; [[Okteta grammar file|more details]])&lt;br /&gt;
* [http://andreas-romeyke.de/kaitai_struct_formats_HEAD.tar.gz Kaitai grammar file] (for [[Kaitai_Struct|Kaitai]]; own implementation for TIFF)&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
Most multi-format image viewers and editors support TIFF to some extent. Applications listed here have been selected arbitrarily.&lt;br /&gt;
* [[Konvertor]]&lt;br /&gt;
* {{Libtiff}}&lt;br /&gt;
* [https://github.com/GPHemsley/tiff-js TIFF.js]&lt;br /&gt;
* [[XnView]]&lt;br /&gt;
* [http://www.irfanview.com/ IrfanView]&lt;br /&gt;
* [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)]&lt;br /&gt;
* [http://andreas-romeyke.de/software.html#_checkit_tiff checkit_tiff (validates baseline TIFFs against textual rules, incredible fast and very deep analysis)]&lt;br /&gt;
&lt;br /&gt;
== Sample files ==&lt;br /&gt;
* http://www.fileformat.info/format/tiff/sample/index.htm&lt;br /&gt;
* {{Libtiff|images.html|TIFF Test Images }}&lt;br /&gt;
* http://people.sc.fsu.edu/~jburkardt/data/tif/tif.html&lt;br /&gt;
* https://github.com/openplanets/format-corpus/tree/master/tiff-examples&lt;br /&gt;
* https://code.google.com/p/imagetestsuite/wiki/TIFFTestSuite&lt;br /&gt;
* [https://github.com/openpreserve/format-corpus/tree/master/tiff-examples/old-style-jpeg-compression TIFF with old-style JPEG compression]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [[Wikipedia:Tagged Image File Format|Wikipedia article]]&lt;br /&gt;
* {{EGFF|tiff|TIFF File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]&lt;br /&gt;
* [http://partners.adobe.com/public/developer/tiff/index.html Adobe Developer Resources for TIFF]&lt;br /&gt;
* [https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ Adobe Photoshop File Formats Specification] from October 2013&lt;br /&gt;
* [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)&lt;br /&gt;
* [https://twitter.com/angealbertini/status/532274856151109632/photo/1 TIFF chart]&lt;br /&gt;
* [http://wiki.dpconline.org/images/f/f3/TIFF_Assessment_v1.2_external.pdf TIFF Format Preservation Assessment (British Library)]&lt;br /&gt;
* [https://github.com/friesey/preservation-tools/releases/tag/v0.3_TiffAnalysis_alpha TIFF Analysis 3rd Release]&lt;br /&gt;
* [http://ti-a.org/ TI/A Standard Initiative]&lt;br /&gt;
* [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)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Adobe]]&lt;/div&gt;</summary>
		<author><name>Aromeyke</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/TIFF</id>
		<title>TIFF</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/TIFF"/>
				<updated>2019-01-28T16:35:06Z</updated>
		
		<summary type="html">&lt;p&gt;Aromeyke: /* Software */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Graphics&lt;br /&gt;
|thiscat=TIFF&lt;br /&gt;
|extensions={{ext|tif}}, {{ext|tiff}}&lt;br /&gt;
|mimetypes={{mimetype|image/tiff}}&lt;br /&gt;
|locfdd={{LoCFDD|fdd000022}}&lt;br /&gt;
|pronom={{PRONOM|fmt/353}}&lt;br /&gt;
}}&lt;br /&gt;
'''TIFF''', formerly known as '''Tag(ged) Image File Format''', is an image format capable of storing multiple high quality images in a single file.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Identification ==&lt;br /&gt;
TIFF files begin with bytes &amp;lt;code&amp;gt;4D 4D 00 2A&amp;lt;/code&amp;gt; (big-[[Endianness|endian]]), or &amp;lt;code&amp;gt;49 49 2A 00&amp;lt;/code&amp;gt; (little-endian). &lt;br /&gt;
&lt;br /&gt;
This does not account for [[BigTIFF]] format, which you may or may not consider to be a kind of TIFF.&lt;br /&gt;
&lt;br /&gt;
=== File signatures ===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
(For formats lacking a public specification, this table may include a hypothetical signature for a byte order that has not been observed.)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Big-endian signature&lt;br /&gt;
! Little-endian signature&lt;br /&gt;
! Format&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 2a&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 2a 00&amp;lt;/code&amp;gt; || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 2b&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 2b 00&amp;lt;/code&amp;gt; || [[BigTIFF]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 55&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 55 00&amp;lt;/code&amp;gt; || [[Panasonic RAW/RW2]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;49 49 bc 01&amp;lt;/code&amp;gt; || [[JPEG XR]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;49 49 4e 31&amp;lt;/code&amp;gt; || [[NIFF (Navy Image File Format)]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 43 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 43&amp;lt;/code&amp;gt; || [[DNG camera profile]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 4f 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 4f&amp;lt;/code&amp;gt; || [[Olympus ORF]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 53 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 53&amp;lt;/code&amp;gt; || [[Olympus ORF]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;45 50 2a 00&amp;lt;/code&amp;gt; || [[MDI]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Non-TIFF formats that could be mistaken for TIFF include:&lt;br /&gt;
* [[3DS]]&lt;br /&gt;
&lt;br /&gt;
== Compression ==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Compression scheme&lt;br /&gt;
|-&lt;br /&gt;
|1 || uncompressed&lt;br /&gt;
|-&lt;br /&gt;
|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]].&lt;br /&gt;
|-&lt;br /&gt;
|3 || 1- or 2-dimensional [[CCITT Group 3]], depending on the value of T4Options bit 0.&lt;br /&gt;
|-&lt;br /&gt;
|4 || [[CCITT Group 4]]&lt;br /&gt;
|-&lt;br /&gt;
|5 || [[LZW]]&lt;br /&gt;
|-&lt;br /&gt;
|6 || &amp;quot;Old style&amp;quot; [[JPEG]]&lt;br /&gt;
|-&lt;br /&gt;
|7 || &amp;quot;New style&amp;quot; [[JPEG]]&lt;br /&gt;
|-&lt;br /&gt;
|8 || [[DEFLATE]]&lt;br /&gt;
|-&lt;br /&gt;
|9, 10 || [[JBIG]] (refer to [[TIFF-FX]])&lt;br /&gt;
|-&lt;br /&gt;
|32766 || [[NeXT 2-bit RLE]]&lt;br /&gt;
|-&lt;br /&gt;
|32767 || (Used by [[Sony ARW]].)&lt;br /&gt;
|-&lt;br /&gt;
|32769 || Packed RAW / NIKON_PACK (Used by [[Epson ERF]].)&lt;br /&gt;
|-&lt;br /&gt;
|32770 || (Used by [[Samsung SRW]].)&lt;br /&gt;
|-&lt;br /&gt;
|32771 || CCITTRLEW. Same as code 2, except that rows are aligned on a 2-byte boundary.&lt;br /&gt;
|-&lt;br /&gt;
|32773 || [[PackBits]]&lt;br /&gt;
|-&lt;br /&gt;
|32809 || [[ThunderScan compression]]&lt;br /&gt;
|-&lt;br /&gt;
|32867 || Kodak KDC (unconfirmed)&lt;br /&gt;
|-&lt;br /&gt;
|32895, 32896, 32897, 32898 || IT8CTPAD, IT8LW, IT8MP, IT8BL (refer to [[TIFF/IT]])&lt;br /&gt;
|-&lt;br /&gt;
|32908 || PIXARFILM. Pixar 10-bit LZW&lt;br /&gt;
|-&lt;br /&gt;
|32909 || PIXARLOG. Pixar companded 11-bit ZIP&lt;br /&gt;
|-&lt;br /&gt;
|32946 || [[DEFLATE]] (same as code 8)&lt;br /&gt;
|-&lt;br /&gt;
|32947 || (Used by [[Kodak]] DCS.)&lt;br /&gt;
|-&lt;br /&gt;
|33003, 33005 || (Used by [[Aperio SVS]].)&lt;br /&gt;
|-&lt;br /&gt;
|34661 || [[JBIG]]&lt;br /&gt;
|-&lt;br /&gt;
|34676 || SGILOG. 32-bit SGI Log Luminance RLE&lt;br /&gt;
|-&lt;br /&gt;
|34677 || SGILOG24. 24-bit SGI Log Luminance packed&lt;br /&gt;
|-&lt;br /&gt;
|34692 || (Used by [[LuraDocument Format]].)&lt;br /&gt;
|-&lt;br /&gt;
|34712 || [[JPEG 2000]]&lt;br /&gt;
|-&lt;br /&gt;
|34713 || (Used by [[Nikon]] NEF.)&lt;br /&gt;
|-&lt;br /&gt;
|34715 || [[JBIG2]] ([[TIFF-FX]] extension)&lt;br /&gt;
|-&lt;br /&gt;
|34718, 34719, 34720 || (Used by [[MDI]].)&lt;br /&gt;
|-&lt;br /&gt;
|34892 || Lossy JPEG (refer to [[DNG]])&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Private/rogue compression codes:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Compression scheme&lt;br /&gt;
|-&lt;br /&gt;
|99 || JPEG (Used by [[Leaf MOS]].)&lt;br /&gt;
|-&lt;br /&gt;
|262 || Kodak 262 (unconfirmed)&lt;br /&gt;
|-&lt;br /&gt;
|65000 || (Used by [[Kodak]] DCR.)&lt;br /&gt;
|-&lt;br /&gt;
|65535 || (Used by [[Pentax PEF]].)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Color types ==&lt;br /&gt;
Tag 262 indicates the color type (&amp;quot;photometric interpretation&amp;quot;) of the image, as a coded integer. Some of the known color types are listed below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Color type&lt;br /&gt;
|-&lt;br /&gt;
|0 || Grayscale or bi-level, white is 0&lt;br /&gt;
|-&lt;br /&gt;
|1 || Grayscale or bi-level, black is 0&lt;br /&gt;
|-&lt;br /&gt;
|2 || RGB&lt;br /&gt;
|-&lt;br /&gt;
|3 || Palette color&lt;br /&gt;
|-&lt;br /&gt;
|5 || CMYK&lt;br /&gt;
|-&lt;br /&gt;
|6 || YCbCr&lt;br /&gt;
|-&lt;br /&gt;
|8 || CIE L*a*b*&lt;br /&gt;
|-&lt;br /&gt;
|9 || ICC L*a*b*&lt;br /&gt;
|-&lt;br /&gt;
|10 || ITU L*a*b* (refer to [[TIFF-FX]])&lt;br /&gt;
|-&lt;br /&gt;
|32803 || CFA (refer to [[DNG]])&lt;br /&gt;
|-&lt;br /&gt;
|32844 || CIE Log2(L)&lt;br /&gt;
|-&lt;br /&gt;
|32845 || CIE Log2(L) (u',v')&lt;br /&gt;
|-&lt;br /&gt;
|34892 || LinearRaw (refer to [[DNG]])&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Related formats ==&lt;br /&gt;
&lt;br /&gt;
See also [[:Category:TIFF]].&lt;br /&gt;
&lt;br /&gt;
* Tag 700 contains [[XMP]] data.&lt;br /&gt;
* Tag 32932 contains [[TIFF annotation data]].&lt;br /&gt;
* Tag 33723 contains [[IPTC]] data.&lt;br /&gt;
* Tag 34377 contains [[Photoshop Image Resources]].&lt;br /&gt;
* Tags 34665 (Exif IFD), 34853 (GPS IFD), and 40965 (Interoperability IFD) point to [[Exif]] directories.&lt;br /&gt;
* Tag 34675 contains an [[ICC profile]].&lt;br /&gt;
* Tag 37680: See [[OLE Property Set]].&lt;br /&gt;
* Tag 37724 (ImageSourceData) contains (after a 36-byte signature) a &amp;quot;series of tagged blocks&amp;quot;, 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 &amp;quot;MIB8&amp;quot; instead of the usual &amp;quot;8BIM&amp;quot;.&lt;br /&gt;
* Tag 50933 (ExtraCameraProfiles) points to [[DNG camera profile|DNG camera profiles]].&lt;br /&gt;
* [[Cameras and Digital Image Sensors|Raw camera formats]] are often based on TIFF.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf TIFF, Revision 6.0] (1992-06-03)&lt;br /&gt;
* 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]&lt;br /&gt;
* 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]&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf Adobe PageMaker 6.0 TIFF Technical Notes] (1995-09-14)&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFFphotoshop.pdf Adobe Photoshop TIFF Technical Notes] (2002-03-22) - Defines tag 37724, compression types 7 and 8, photometric interpretation types 8 and 9&lt;br /&gt;
* [http://chriscox.org/TIFFTN3d1.pdf Adobe Photoshop TIFF Technical Note 3] (2005-04-08)&lt;br /&gt;
* [http://www.digitalmeetsculture.net/wp-content/uploads/2015/04/EASY-INNOVA-4.-TIFF-A-Standard-Proposal.pdf TIFF/A draft specification] (2015-02)&lt;br /&gt;
&lt;br /&gt;
=== Metadata tags ===&lt;br /&gt;
* [http://www.awaresystems.be/imaging/tiff/tifftags.html AWare Systems TIFF Tag Reference]&lt;br /&gt;
* http://www.digitizationguidelines.gov/guidelines/TIFF_Metadata_Final.pdf&lt;br /&gt;
* http://www.digitalpreservation.gov/formats/content/tiff_tags.shtml&lt;br /&gt;
&lt;br /&gt;
== Metaformat files ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.synalysis.net/Grammars/tiff.grammar Synalysis grammar file] (for Hexinator / Synalize It!; [[Synalysis grammar file|more details]])&lt;br /&gt;
* [http://andreas-romeyke.de/okteta_tiff_HEAD.tar.gz Okteta structure file] (for Okteta; [[Okteta grammar file|more details]])&lt;br /&gt;
* [http://andreas-romeyke.de/kaitai_struct_formats_HEAD.tar.gz Kaitai grammar file] (for [http://kaitai.io/ Kaitai]; Own implementation for TIFF)&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
Most multi-format image viewers and editors support TIFF to some extent. Applications listed here have been selected arbitrarily.&lt;br /&gt;
* [[Konvertor]]&lt;br /&gt;
* {{Libtiff}}&lt;br /&gt;
* [https://github.com/GPHemsley/tiff-js TIFF.js]&lt;br /&gt;
* [[XnView]]&lt;br /&gt;
* [http://www.irfanview.com/ IrfanView]&lt;br /&gt;
* [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)]&lt;br /&gt;
* [http://andreas-romeyke.de/software.html#_checkit_tiff checkit_tiff (validates baseline TIFFs against textual rules, incredible fast and very deep analysis)]&lt;br /&gt;
&lt;br /&gt;
== Sample files ==&lt;br /&gt;
* http://www.fileformat.info/format/tiff/sample/index.htm&lt;br /&gt;
* {{Libtiff|images.html|TIFF Test Images }}&lt;br /&gt;
* http://people.sc.fsu.edu/~jburkardt/data/tif/tif.html&lt;br /&gt;
* https://github.com/openplanets/format-corpus/tree/master/tiff-examples&lt;br /&gt;
* https://code.google.com/p/imagetestsuite/wiki/TIFFTestSuite&lt;br /&gt;
* [https://github.com/openpreserve/format-corpus/tree/master/tiff-examples/old-style-jpeg-compression TIFF with old-style JPEG compression]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [[Wikipedia:Tagged Image File Format|Wikipedia article]]&lt;br /&gt;
* {{EGFF|tiff|TIFF File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]&lt;br /&gt;
* [http://partners.adobe.com/public/developer/tiff/index.html Adobe Developer Resources for TIFF]&lt;br /&gt;
* [https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ Adobe Photoshop File Formats Specification] from October 2013&lt;br /&gt;
* [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)&lt;br /&gt;
* [https://twitter.com/angealbertini/status/532274856151109632/photo/1 TIFF chart]&lt;br /&gt;
* [http://wiki.dpconline.org/images/f/f3/TIFF_Assessment_v1.2_external.pdf TIFF Format Preservation Assessment (British Library)]&lt;br /&gt;
* [https://github.com/friesey/preservation-tools/releases/tag/v0.3_TiffAnalysis_alpha TIFF Analysis 3rd Release]&lt;br /&gt;
* [http://ti-a.org/ TI/A Standard Initiative]&lt;br /&gt;
* [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)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Adobe]]&lt;/div&gt;</summary>
		<author><name>Aromeyke</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/TIFF</id>
		<title>TIFF</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/TIFF"/>
				<updated>2019-01-28T16:32:25Z</updated>
		
		<summary type="html">&lt;p&gt;Aromeyke: /* Metaformat files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Graphics&lt;br /&gt;
|thiscat=TIFF&lt;br /&gt;
|extensions={{ext|tif}}, {{ext|tiff}}&lt;br /&gt;
|mimetypes={{mimetype|image/tiff}}&lt;br /&gt;
|locfdd={{LoCFDD|fdd000022}}&lt;br /&gt;
|pronom={{PRONOM|fmt/353}}&lt;br /&gt;
}}&lt;br /&gt;
'''TIFF''', formerly known as '''Tag(ged) Image File Format''', is an image format capable of storing multiple high quality images in a single file.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Identification ==&lt;br /&gt;
TIFF files begin with bytes &amp;lt;code&amp;gt;4D 4D 00 2A&amp;lt;/code&amp;gt; (big-[[Endianness|endian]]), or &amp;lt;code&amp;gt;49 49 2A 00&amp;lt;/code&amp;gt; (little-endian). &lt;br /&gt;
&lt;br /&gt;
This does not account for [[BigTIFF]] format, which you may or may not consider to be a kind of TIFF.&lt;br /&gt;
&lt;br /&gt;
=== File signatures ===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
(For formats lacking a public specification, this table may include a hypothetical signature for a byte order that has not been observed.)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Big-endian signature&lt;br /&gt;
! Little-endian signature&lt;br /&gt;
! Format&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 2a&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 2a 00&amp;lt;/code&amp;gt; || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 2b&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 2b 00&amp;lt;/code&amp;gt; || [[BigTIFF]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 55&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 55 00&amp;lt;/code&amp;gt; || [[Panasonic RAW/RW2]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;49 49 bc 01&amp;lt;/code&amp;gt; || [[JPEG XR]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;49 49 4e 31&amp;lt;/code&amp;gt; || [[NIFF (Navy Image File Format)]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 43 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 43&amp;lt;/code&amp;gt; || [[DNG camera profile]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 4f 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 4f&amp;lt;/code&amp;gt; || [[Olympus ORF]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 53 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 53&amp;lt;/code&amp;gt; || [[Olympus ORF]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;45 50 2a 00&amp;lt;/code&amp;gt; || [[MDI]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Non-TIFF formats that could be mistaken for TIFF include:&lt;br /&gt;
* [[3DS]]&lt;br /&gt;
&lt;br /&gt;
== Compression ==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Compression scheme&lt;br /&gt;
|-&lt;br /&gt;
|1 || uncompressed&lt;br /&gt;
|-&lt;br /&gt;
|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]].&lt;br /&gt;
|-&lt;br /&gt;
|3 || 1- or 2-dimensional [[CCITT Group 3]], depending on the value of T4Options bit 0.&lt;br /&gt;
|-&lt;br /&gt;
|4 || [[CCITT Group 4]]&lt;br /&gt;
|-&lt;br /&gt;
|5 || [[LZW]]&lt;br /&gt;
|-&lt;br /&gt;
|6 || &amp;quot;Old style&amp;quot; [[JPEG]]&lt;br /&gt;
|-&lt;br /&gt;
|7 || &amp;quot;New style&amp;quot; [[JPEG]]&lt;br /&gt;
|-&lt;br /&gt;
|8 || [[DEFLATE]]&lt;br /&gt;
|-&lt;br /&gt;
|9, 10 || [[JBIG]] (refer to [[TIFF-FX]])&lt;br /&gt;
|-&lt;br /&gt;
|32766 || [[NeXT 2-bit RLE]]&lt;br /&gt;
|-&lt;br /&gt;
|32767 || (Used by [[Sony ARW]].)&lt;br /&gt;
|-&lt;br /&gt;
|32769 || Packed RAW / NIKON_PACK (Used by [[Epson ERF]].)&lt;br /&gt;
|-&lt;br /&gt;
|32770 || (Used by [[Samsung SRW]].)&lt;br /&gt;
|-&lt;br /&gt;
|32771 || CCITTRLEW. Same as code 2, except that rows are aligned on a 2-byte boundary.&lt;br /&gt;
|-&lt;br /&gt;
|32773 || [[PackBits]]&lt;br /&gt;
|-&lt;br /&gt;
|32809 || [[ThunderScan compression]]&lt;br /&gt;
|-&lt;br /&gt;
|32867 || Kodak KDC (unconfirmed)&lt;br /&gt;
|-&lt;br /&gt;
|32895, 32896, 32897, 32898 || IT8CTPAD, IT8LW, IT8MP, IT8BL (refer to [[TIFF/IT]])&lt;br /&gt;
|-&lt;br /&gt;
|32908 || PIXARFILM. Pixar 10-bit LZW&lt;br /&gt;
|-&lt;br /&gt;
|32909 || PIXARLOG. Pixar companded 11-bit ZIP&lt;br /&gt;
|-&lt;br /&gt;
|32946 || [[DEFLATE]] (same as code 8)&lt;br /&gt;
|-&lt;br /&gt;
|32947 || (Used by [[Kodak]] DCS.)&lt;br /&gt;
|-&lt;br /&gt;
|33003, 33005 || (Used by [[Aperio SVS]].)&lt;br /&gt;
|-&lt;br /&gt;
|34661 || [[JBIG]]&lt;br /&gt;
|-&lt;br /&gt;
|34676 || SGILOG. 32-bit SGI Log Luminance RLE&lt;br /&gt;
|-&lt;br /&gt;
|34677 || SGILOG24. 24-bit SGI Log Luminance packed&lt;br /&gt;
|-&lt;br /&gt;
|34692 || (Used by [[LuraDocument Format]].)&lt;br /&gt;
|-&lt;br /&gt;
|34712 || [[JPEG 2000]]&lt;br /&gt;
|-&lt;br /&gt;
|34713 || (Used by [[Nikon]] NEF.)&lt;br /&gt;
|-&lt;br /&gt;
|34715 || [[JBIG2]] ([[TIFF-FX]] extension)&lt;br /&gt;
|-&lt;br /&gt;
|34718, 34719, 34720 || (Used by [[MDI]].)&lt;br /&gt;
|-&lt;br /&gt;
|34892 || Lossy JPEG (refer to [[DNG]])&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Private/rogue compression codes:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Compression scheme&lt;br /&gt;
|-&lt;br /&gt;
|99 || JPEG (Used by [[Leaf MOS]].)&lt;br /&gt;
|-&lt;br /&gt;
|262 || Kodak 262 (unconfirmed)&lt;br /&gt;
|-&lt;br /&gt;
|65000 || (Used by [[Kodak]] DCR.)&lt;br /&gt;
|-&lt;br /&gt;
|65535 || (Used by [[Pentax PEF]].)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Color types ==&lt;br /&gt;
Tag 262 indicates the color type (&amp;quot;photometric interpretation&amp;quot;) of the image, as a coded integer. Some of the known color types are listed below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Color type&lt;br /&gt;
|-&lt;br /&gt;
|0 || Grayscale or bi-level, white is 0&lt;br /&gt;
|-&lt;br /&gt;
|1 || Grayscale or bi-level, black is 0&lt;br /&gt;
|-&lt;br /&gt;
|2 || RGB&lt;br /&gt;
|-&lt;br /&gt;
|3 || Palette color&lt;br /&gt;
|-&lt;br /&gt;
|5 || CMYK&lt;br /&gt;
|-&lt;br /&gt;
|6 || YCbCr&lt;br /&gt;
|-&lt;br /&gt;
|8 || CIE L*a*b*&lt;br /&gt;
|-&lt;br /&gt;
|9 || ICC L*a*b*&lt;br /&gt;
|-&lt;br /&gt;
|10 || ITU L*a*b* (refer to [[TIFF-FX]])&lt;br /&gt;
|-&lt;br /&gt;
|32803 || CFA (refer to [[DNG]])&lt;br /&gt;
|-&lt;br /&gt;
|32844 || CIE Log2(L)&lt;br /&gt;
|-&lt;br /&gt;
|32845 || CIE Log2(L) (u',v')&lt;br /&gt;
|-&lt;br /&gt;
|34892 || LinearRaw (refer to [[DNG]])&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Related formats ==&lt;br /&gt;
&lt;br /&gt;
See also [[:Category:TIFF]].&lt;br /&gt;
&lt;br /&gt;
* Tag 700 contains [[XMP]] data.&lt;br /&gt;
* Tag 32932 contains [[TIFF annotation data]].&lt;br /&gt;
* Tag 33723 contains [[IPTC]] data.&lt;br /&gt;
* Tag 34377 contains [[Photoshop Image Resources]].&lt;br /&gt;
* Tags 34665 (Exif IFD), 34853 (GPS IFD), and 40965 (Interoperability IFD) point to [[Exif]] directories.&lt;br /&gt;
* Tag 34675 contains an [[ICC profile]].&lt;br /&gt;
* Tag 37680: See [[OLE Property Set]].&lt;br /&gt;
* Tag 37724 (ImageSourceData) contains (after a 36-byte signature) a &amp;quot;series of tagged blocks&amp;quot;, 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 &amp;quot;MIB8&amp;quot; instead of the usual &amp;quot;8BIM&amp;quot;.&lt;br /&gt;
* Tag 50933 (ExtraCameraProfiles) points to [[DNG camera profile|DNG camera profiles]].&lt;br /&gt;
* [[Cameras and Digital Image Sensors|Raw camera formats]] are often based on TIFF.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf TIFF, Revision 6.0] (1992-06-03)&lt;br /&gt;
* 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]&lt;br /&gt;
* 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]&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf Adobe PageMaker 6.0 TIFF Technical Notes] (1995-09-14)&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFFphotoshop.pdf Adobe Photoshop TIFF Technical Notes] (2002-03-22) - Defines tag 37724, compression types 7 and 8, photometric interpretation types 8 and 9&lt;br /&gt;
* [http://chriscox.org/TIFFTN3d1.pdf Adobe Photoshop TIFF Technical Note 3] (2005-04-08)&lt;br /&gt;
* [http://www.digitalmeetsculture.net/wp-content/uploads/2015/04/EASY-INNOVA-4.-TIFF-A-Standard-Proposal.pdf TIFF/A draft specification] (2015-02)&lt;br /&gt;
&lt;br /&gt;
=== Metadata tags ===&lt;br /&gt;
* [http://www.awaresystems.be/imaging/tiff/tifftags.html AWare Systems TIFF Tag Reference]&lt;br /&gt;
* http://www.digitizationguidelines.gov/guidelines/TIFF_Metadata_Final.pdf&lt;br /&gt;
* http://www.digitalpreservation.gov/formats/content/tiff_tags.shtml&lt;br /&gt;
&lt;br /&gt;
== Metaformat files ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.synalysis.net/Grammars/tiff.grammar Synalysis grammar file] (for Hexinator / Synalize It!; [[Synalysis grammar file|more details]])&lt;br /&gt;
* [http://andreas-romeyke.de/okteta_tiff_HEAD.tar.gz Okteta structure file] (for Okteta; [[Okteta grammar file|more details]])&lt;br /&gt;
* [http://andreas-romeyke.de/kaitai_struct_formats_HEAD.tar.gz Kaitai grammar file] (for [http://kaitai.io/ Kaitai]; Own implementation for TIFF)&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
Most multi-format image viewers and editors support TIFF to some extent. Applications listed here have been selected arbitrarily.&lt;br /&gt;
* [[Konvertor]]&lt;br /&gt;
* {{Libtiff}}&lt;br /&gt;
* [https://github.com/GPHemsley/tiff-js TIFF.js]&lt;br /&gt;
* [[XnView]]&lt;br /&gt;
* [http://www.irfanview.com/ IrfanView]&lt;br /&gt;
* [https://github.com/SLUB-digitalpreservation/fixit_tiff fixit_tiff (repairs TIFF files, example: broken datetime, wrong tag order)]&lt;br /&gt;
* [https://github.com/SLUB-digitalpreservation/checkit_tiff checkit_tiff (validates baseline TIFFs against textual rules)]&lt;br /&gt;
&lt;br /&gt;
== Sample files ==&lt;br /&gt;
* http://www.fileformat.info/format/tiff/sample/index.htm&lt;br /&gt;
* {{Libtiff|images.html|TIFF Test Images }}&lt;br /&gt;
* http://people.sc.fsu.edu/~jburkardt/data/tif/tif.html&lt;br /&gt;
* https://github.com/openplanets/format-corpus/tree/master/tiff-examples&lt;br /&gt;
* https://code.google.com/p/imagetestsuite/wiki/TIFFTestSuite&lt;br /&gt;
* [https://github.com/openpreserve/format-corpus/tree/master/tiff-examples/old-style-jpeg-compression TIFF with old-style JPEG compression]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [[Wikipedia:Tagged Image File Format|Wikipedia article]]&lt;br /&gt;
* {{EGFF|tiff|TIFF File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]&lt;br /&gt;
* [http://partners.adobe.com/public/developer/tiff/index.html Adobe Developer Resources for TIFF]&lt;br /&gt;
* [https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ Adobe Photoshop File Formats Specification] from October 2013&lt;br /&gt;
* [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)&lt;br /&gt;
* [https://twitter.com/angealbertini/status/532274856151109632/photo/1 TIFF chart]&lt;br /&gt;
* [http://wiki.dpconline.org/images/f/f3/TIFF_Assessment_v1.2_external.pdf TIFF Format Preservation Assessment (British Library)]&lt;br /&gt;
* [https://github.com/friesey/preservation-tools/releases/tag/v0.3_TiffAnalysis_alpha TIFF Analysis 3rd Release]&lt;br /&gt;
* [http://ti-a.org/ TI/A Standard Initiative]&lt;br /&gt;
* [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)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Adobe]]&lt;/div&gt;</summary>
		<author><name>Aromeyke</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/File_viewing_and_editing_software</id>
		<title>File viewing and editing software</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/File_viewing_and_editing_software"/>
				<updated>2018-06-01T15:21:05Z</updated>
		
		<summary type="html">&lt;p&gt;Aromeyke: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{|&lt;br /&gt;
|[[Software]]&lt;br /&gt;
| &amp;gt;&lt;br /&gt;
|[[File viewing and editing software]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To see what is in a file, and possibly to modify it, various sorts of software can be used, ranging from raw binary editors/viewers to programs that perform more sophisticated analysis. [[File creation software]] will usually edit existing files as well, and [[File rendering/interaction software]] will display them in various ways.&lt;br /&gt;
&lt;br /&gt;
* [[Synalyze It]] [https://www.synalysis.net/] and [[Hexinator]] [https://hexinator.com/] are programs (related to one another) that can do raw binary/hexadecimal viewing and editing of files, but also parse them using [[Synalysis grammar file|grammar files]] to analyze various file formats.&lt;br /&gt;
* [[Okteta]] [https://www.kde.org/applications/utilities/okteta/] is an open source hex editor by the KDE project. It supports also parsing via [[Okteta grammar file]] to analyze various file formats.&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Aromeyke</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Okteta_grammar_file</id>
		<title>Okteta grammar file</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Okteta_grammar_file"/>
				<updated>2018-06-01T15:17:45Z</updated>
		
		<summary type="html">&lt;p&gt;Aromeyke: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Schema formats&lt;br /&gt;
|extensions={{ext|osd}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Okteta grammar files are used by Okteta, an open source hex editor by the KDE project. See https://www.kde.org/applications/utilities/okteta/&lt;br /&gt;
&lt;br /&gt;
There are two types:&lt;br /&gt;
* [[XML]] driven grammar files&lt;br /&gt;
* [[Javascript]] driven grammar files&lt;br /&gt;
&lt;br /&gt;
The documentation of the grammars is not very well and could be found under https://userbase.kde.org/Okteta/Writing_structure_definitions&lt;br /&gt;
[[Category:XML based file formats]]&lt;/div&gt;</summary>
		<author><name>Aromeyke</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/Okteta_grammar_file</id>
		<title>Okteta grammar file</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/Okteta_grammar_file"/>
				<updated>2018-06-01T15:15:55Z</updated>
		
		<summary type="html">&lt;p&gt;Aromeyke: Created page with &amp;quot;Okteta grammar files are used by Okteta, an open source hex editor by the KDE project. See https://www.kde.org/applications/utilities/okteta/  There are two types: * xml drive...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Okteta grammar files are used by Okteta, an open source hex editor by the KDE project. See https://www.kde.org/applications/utilities/okteta/&lt;br /&gt;
&lt;br /&gt;
There are two types:&lt;br /&gt;
* xml driven grammar files&lt;br /&gt;
* js driven grammar files&lt;br /&gt;
&lt;br /&gt;
The documentation of the grammars is not very well and could be found under https://userbase.kde.org/Okteta/Writing_structure_definitions&lt;/div&gt;</summary>
		<author><name>Aromeyke</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/TIFF</id>
		<title>TIFF</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/TIFF"/>
				<updated>2018-06-01T15:12:57Z</updated>
		
		<summary type="html">&lt;p&gt;Aromeyke: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Graphics&lt;br /&gt;
|thiscat=TIFF&lt;br /&gt;
|extensions={{ext|tif}}, {{ext|tiff}}&lt;br /&gt;
|mimetypes={{mimetype|image/tiff}}&lt;br /&gt;
|locfdd={{LoCFDD|fdd000022}}&lt;br /&gt;
|pronom={{PRONOM|fmt/353}}&lt;br /&gt;
}}&lt;br /&gt;
'''TIFF''', formerly known as '''Tag(ged) Image File Format''', is an image format capable of storing multiple high quality images in a single file.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Identification ==&lt;br /&gt;
TIFF files begin with bytes &amp;lt;code&amp;gt;4D 4D 00 2A&amp;lt;/code&amp;gt; (big-[[Endianness|endian]]), or &amp;lt;code&amp;gt;49 49 2A 00&amp;lt;/code&amp;gt; (little-endian). &lt;br /&gt;
&lt;br /&gt;
This does not account for [[BigTIFF]] format, which you may or may not consider to be a kind of TIFF.&lt;br /&gt;
&lt;br /&gt;
=== File signatures ===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
(For formats lacking a public specification, this table may include a hypothetical signature for a byte order that has not been observed.)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Big-endian signature&lt;br /&gt;
! Little-endian signature&lt;br /&gt;
! Format&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 2a&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 2a 00&amp;lt;/code&amp;gt; || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 2b&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 2b 00&amp;lt;/code&amp;gt; || [[BigTIFF]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 55&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 55 00&amp;lt;/code&amp;gt; || [[Panasonic RAW/RW2]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;49 49 bc 01&amp;lt;/code&amp;gt; || [[JPEG XR]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;49 49 4e 31&amp;lt;/code&amp;gt; || [[NIFF (Navy Image File Format)]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 43 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 43&amp;lt;/code&amp;gt; || [[DNG camera profile]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 4f 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 4f&amp;lt;/code&amp;gt; || [[Olympus ORF]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 53 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 53&amp;lt;/code&amp;gt; || [[Olympus ORF]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;45 50 2a 00&amp;lt;/code&amp;gt; || [[MDI]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Non-TIFF formats that could be mistaken for TIFF include:&lt;br /&gt;
* [[3DS]]&lt;br /&gt;
&lt;br /&gt;
== Compression ==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Compression scheme&lt;br /&gt;
|-&lt;br /&gt;
|1 || uncompressed&lt;br /&gt;
|-&lt;br /&gt;
|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]].&lt;br /&gt;
|-&lt;br /&gt;
|3 || 1- or 2-dimensional [[CCITT Group 3]], depending on the value of T4Options bit 0.&lt;br /&gt;
|-&lt;br /&gt;
|4 || [[CCITT Group 4]]&lt;br /&gt;
|-&lt;br /&gt;
|5 || [[LZW]]&lt;br /&gt;
|-&lt;br /&gt;
|6 || &amp;quot;Old style&amp;quot; [[JPEG]]&lt;br /&gt;
|-&lt;br /&gt;
|7 || &amp;quot;New style&amp;quot; [[JPEG]]&lt;br /&gt;
|-&lt;br /&gt;
|8 || [[DEFLATE]]&lt;br /&gt;
|-&lt;br /&gt;
|9, 10 || [[JBIG]] (refer to [[TIFF-FX]])&lt;br /&gt;
|-&lt;br /&gt;
|32766 || [[NeXT 2-bit RLE]]&lt;br /&gt;
|-&lt;br /&gt;
|32767 || (Used by [[Sony ARW]].)&lt;br /&gt;
|-&lt;br /&gt;
|32769 || Packed RAW / NIKON_PACK (Used by [[Epson ERF]].)&lt;br /&gt;
|-&lt;br /&gt;
|32770 || (Used by [[Samsung SRW]].)&lt;br /&gt;
|-&lt;br /&gt;
|32771 || CCITTRLEW. Same as code 2, except that rows are aligned on a 2-byte boundary.&lt;br /&gt;
|-&lt;br /&gt;
|32773 || [[PackBits]]&lt;br /&gt;
|-&lt;br /&gt;
|32809 || [[ThunderScan compression]]&lt;br /&gt;
|-&lt;br /&gt;
|32867 || Kodak KDC (unconfirmed)&lt;br /&gt;
|-&lt;br /&gt;
|32895, 32896, 32897, 32898 || IT8CTPAD, IT8LW, IT8MP, IT8BL (refer to [[TIFF/IT]])&lt;br /&gt;
|-&lt;br /&gt;
|32908 || PIXARFILM. Pixar 10-bit LZW&lt;br /&gt;
|-&lt;br /&gt;
|32909 || PIXARLOG. Pixar companded 11-bit ZIP&lt;br /&gt;
|-&lt;br /&gt;
|32946 || [[DEFLATE]] (same as code 8)&lt;br /&gt;
|-&lt;br /&gt;
|32947 || (Used by [[Kodak]] DCS.)&lt;br /&gt;
|-&lt;br /&gt;
|33003, 33005 || (Used by [[Aperio SVS]].)&lt;br /&gt;
|-&lt;br /&gt;
|34661 || [[JBIG]]&lt;br /&gt;
|-&lt;br /&gt;
|34676 || SGILOG. 32-bit SGI Log Luminance RLE&lt;br /&gt;
|-&lt;br /&gt;
|34677 || SGILOG24. 24-bit SGI Log Luminance packed&lt;br /&gt;
|-&lt;br /&gt;
|34692 || (Used by [[LuraDocument Format]].)&lt;br /&gt;
|-&lt;br /&gt;
|34712 || [[JPEG 2000]]&lt;br /&gt;
|-&lt;br /&gt;
|34713 || (Used by [[Nikon]] NEF.)&lt;br /&gt;
|-&lt;br /&gt;
|34715 || [[JBIG2]] ([[TIFF-FX]] extension)&lt;br /&gt;
|-&lt;br /&gt;
|34718, 34719, 34720 || (Used by [[MDI]].)&lt;br /&gt;
|-&lt;br /&gt;
|34892 || Lossy JPEG (refer to [[DNG]])&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Private/rogue compression codes:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Compression scheme&lt;br /&gt;
|-&lt;br /&gt;
|99 || JPEG (Used by [[Leaf MOS]].)&lt;br /&gt;
|-&lt;br /&gt;
|262 || Kodak 262 (unconfirmed)&lt;br /&gt;
|-&lt;br /&gt;
|65000 || (Used by [[Kodak]] DCR.)&lt;br /&gt;
|-&lt;br /&gt;
|65535 || (Used by [[Pentax PEF]].)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Color types ==&lt;br /&gt;
Tag 262 indicates the color type (&amp;quot;photometric interpretation&amp;quot;) of the image, as a coded integer. Some of the known color types are listed below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Color type&lt;br /&gt;
|-&lt;br /&gt;
|0 || Grayscale or bi-level, white is 0&lt;br /&gt;
|-&lt;br /&gt;
|1 || Grayscale or bi-level, black is 0&lt;br /&gt;
|-&lt;br /&gt;
|2 || RGB&lt;br /&gt;
|-&lt;br /&gt;
|3 || Palette color&lt;br /&gt;
|-&lt;br /&gt;
|5 || CMYK&lt;br /&gt;
|-&lt;br /&gt;
|6 || YCbCr&lt;br /&gt;
|-&lt;br /&gt;
|8 || CIE L*a*b*&lt;br /&gt;
|-&lt;br /&gt;
|9 || ICC L*a*b*&lt;br /&gt;
|-&lt;br /&gt;
|10 || ITU L*a*b* (refer to [[TIFF-FX]])&lt;br /&gt;
|-&lt;br /&gt;
|32803 || CFA (refer to [[DNG]])&lt;br /&gt;
|-&lt;br /&gt;
|32844 || CIE Log2(L)&lt;br /&gt;
|-&lt;br /&gt;
|32845 || CIE Log2(L) (u',v')&lt;br /&gt;
|-&lt;br /&gt;
|34892 || LinearRaw (refer to [[DNG]])&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Related formats ==&lt;br /&gt;
&lt;br /&gt;
See also [[:Category:TIFF]].&lt;br /&gt;
&lt;br /&gt;
* Tag 32932 contains [[TIFF annotation data]].&lt;br /&gt;
&lt;br /&gt;
* Tag 33723 contains [[IPTC]] data.&lt;br /&gt;
&lt;br /&gt;
* Tag 34377 contains [[Photoshop Image Resources]].&lt;br /&gt;
&lt;br /&gt;
* Tags 34665 (Exif IFD), 34853 (GPS IFD), and 40965 (Interoperability IFD) point to [[Exif]] directories.&lt;br /&gt;
&lt;br /&gt;
* Tag 34675 contains an [[ICC profile]].&lt;br /&gt;
&lt;br /&gt;
* Tag 37724 (ImageSourceData) contains (after a 36-byte signature) a &amp;quot;series of tagged blocks&amp;quot;, 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 &amp;quot;MIB8&amp;quot; instead of the usual &amp;quot;8BIM&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Tag 50933 (ExtraCameraProfiles) points to [[DNG camera profile|DNG camera profiles]].&lt;br /&gt;
&lt;br /&gt;
* [[Cameras and Digital Image Sensors|Raw camera formats]] are often based on TIFF.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf TIFF, Revision 6.0] (1992-06-03)&lt;br /&gt;
* 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]&lt;br /&gt;
* 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]&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf Adobe PageMaker 6.0 TIFF Technical Notes] (1995-09-14)&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFFphotoshop.pdf Adobe Photoshop TIFF Technical Notes] (2002-03-22) - Defines tag 37724, compression types 7 and 8, photometric interpretation types 8 and 9&lt;br /&gt;
* [http://chriscox.org/TIFFTN3d1.pdf Adobe Photoshop TIFF Technical Note 3] (2005-04-08)&lt;br /&gt;
* [http://www.digitalmeetsculture.net/wp-content/uploads/2015/04/EASY-INNOVA-4.-TIFF-A-Standard-Proposal.pdf TIFF/A draft specification] (2015-02)&lt;br /&gt;
&lt;br /&gt;
=== Metadata tags ===&lt;br /&gt;
* [http://www.awaresystems.be/imaging/tiff/tifftags.html AWare Systems TIFF Tag Reference]&lt;br /&gt;
* http://www.digitizationguidelines.gov/guidelines/TIFF_Metadata_Final.pdf&lt;br /&gt;
* http://www.digitalpreservation.gov/formats/content/tiff_tags.shtml&lt;br /&gt;
&lt;br /&gt;
== Metaformat files ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.synalysis.net/Grammars/tiff.grammar Synalysis grammar file] (for Hexinator / Synalize It!; [[Synalysis grammar file|more details]])&lt;br /&gt;
* [https://github.com/art1pirat/okteta_tiff Okteta grammar file] (for Okteta; [[Okteta grammar file|more details]])&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
Most multi-format image viewers and editors support TIFF to some extent. Applications listed here have been selected arbitrarily.&lt;br /&gt;
* [[Konvertor]]&lt;br /&gt;
* {{Libtiff}}&lt;br /&gt;
* [https://github.com/GPHemsley/tiff-js TIFF.js]&lt;br /&gt;
* [[XnView]]&lt;br /&gt;
* [http://www.irfanview.com/ IrfanView]&lt;br /&gt;
* [https://github.com/SLUB-digitalpreservation/fixit_tiff fixit_tiff (repairs TIFF files, example: broken datetime, wrong tag order)]&lt;br /&gt;
* [https://github.com/SLUB-digitalpreservation/checkit_tiff checkit_tiff (validates baseline TIFFs against textual rules)]&lt;br /&gt;
&lt;br /&gt;
== Sample files ==&lt;br /&gt;
* http://www.fileformat.info/format/tiff/sample/index.htm&lt;br /&gt;
* {{Libtiff|images.html|TIFF Test Images }}&lt;br /&gt;
* http://people.sc.fsu.edu/~jburkardt/data/tif/tif.html&lt;br /&gt;
* https://github.com/openplanets/format-corpus/tree/master/tiff-examples&lt;br /&gt;
* https://code.google.com/p/imagetestsuite/wiki/TIFFTestSuite&lt;br /&gt;
* [https://github.com/openpreserve/format-corpus/tree/master/tiff-examples/old-style-jpeg-compression TIFF with old-style JPEG compression]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [[Wikipedia:Tagged Image File Format|Wikipedia article]]&lt;br /&gt;
* {{EGFF|tiff|TIFF File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]&lt;br /&gt;
* [http://partners.adobe.com/public/developer/tiff/index.html Adobe Developer Resources for TIFF]&lt;br /&gt;
* [https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ Adobe Photoshop File Formats Specification] from October 2013&lt;br /&gt;
* [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)&lt;br /&gt;
* [https://twitter.com/angealbertini/status/532274856151109632/photo/1 TIFF chart]&lt;br /&gt;
* [http://wiki.dpconline.org/images/f/f3/TIFF_Assessment_v1.2_external.pdf TIFF Format Preservation Assessment (British Library)]&lt;br /&gt;
* [https://github.com/friesey/preservation-tools/releases/tag/v0.3_TiffAnalysis_alpha TIFF Analysis 3rd Release]&lt;br /&gt;
* [http://ti-a.org/ TI/A Standard Initiative]&lt;br /&gt;
* [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)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Adobe]]&lt;/div&gt;</summary>
		<author><name>Aromeyke</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/GeoTIFF</id>
		<title>GeoTIFF</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/GeoTIFF"/>
				<updated>2018-06-01T15:12:49Z</updated>
		
		<summary type="html">&lt;p&gt;Aromeyke: added Software section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Geospatial&lt;br /&gt;
|extensions={{ext|tiff}}, {{ext|tif}}&lt;br /&gt;
|locfdd={{LoCFDD|fdd000279}}&lt;br /&gt;
|pronom={{PRONOM|fmt/155}}&lt;br /&gt;
}}&lt;br /&gt;
'''GeoTIFF''' is an extension of [[TIFF]] for containing georeferenced images.  GeoTIFF files can be read by normal TIFF utilities, though they may unintentionally strip out the geospatial data in the process.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* [http://web.archive.org/web/20160403164508/http://www.remotesensing.org/geotiff/spec/geotiffhome.html GeoTIFF 1.0] Official specification (from archive.org)&lt;br /&gt;
* [http://trac.osgeo.org/geotiff/ Main GeoTIFF website at OSGeo]  Has a good list of references.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
Most multi-format image viewers and editors support TIFF to some extent. Applications listed here have been selected arbitrarily.&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/SLUB-digitalpreservation/checkit_tiff checkit_tiff (validates baseline TIFFs against textual rules, has special support for GeoTIFF extensions)]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Graphics]]&lt;br /&gt;
[[Category:TIFF]]&lt;/div&gt;</summary>
		<author><name>Aromeyke</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/wiki/TIFF</id>
		<title>TIFF</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/wiki/TIFF"/>
				<updated>2016-07-07T09:31:40Z</updated>
		
		<summary type="html">&lt;p&gt;Aromeyke: /* Software */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Graphics&lt;br /&gt;
|thiscat=TIFF&lt;br /&gt;
|extensions={{ext|tif}}, {{ext|tiff}}&lt;br /&gt;
|mimetypes={{mimetype|image/tiff}}&lt;br /&gt;
|locfdd={{LoCFDD|fdd000022}}&lt;br /&gt;
|pronom={{PRONOM|fmt/353}}&lt;br /&gt;
}}&lt;br /&gt;
'''TIFF''', formerly known as '''Tag(ged) Image File Format''', is an image format capable of storing multiple high quality images in a single file.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Identification ==&lt;br /&gt;
TIFF files begin with bytes &amp;lt;code&amp;gt;4D 4D 00 2A&amp;lt;/code&amp;gt; (big-[[Endianness|endian]]), or &amp;lt;code&amp;gt;49 49 2A 00&amp;lt;/code&amp;gt; (little-endian). &lt;br /&gt;
&lt;br /&gt;
This does not account for [[BigTIFF]] format, which you may or may not consider to be a kind of TIFF.&lt;br /&gt;
&lt;br /&gt;
=== File signatures ===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
(For formats lacking a public specification, this table may include a hypothetical signature for a byte order that has not been observed.)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Big-endian signature&lt;br /&gt;
! Little-endian signature&lt;br /&gt;
! Format&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 2a&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 2a 00&amp;lt;/code&amp;gt; || TIFF&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 2b&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 2b 00&amp;lt;/code&amp;gt; || [[BigTIFF]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 00 55&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 55 00&amp;lt;/code&amp;gt; || [[Panasonic RAW/RW2]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;49 49 bc 01&amp;lt;/code&amp;gt; || [[JPEG XR]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;49 49 4e 31&amp;lt;/code&amp;gt; || [[NIFF (Navy Image File Format)]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 43 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 43&amp;lt;/code&amp;gt; || [[DNG camera profile]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 4f 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 4f&amp;lt;/code&amp;gt; || [[Olympus ORF]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;4d 4d 53 52&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;49 49 52 53&amp;lt;/code&amp;gt; || [[Olympus ORF]]&lt;br /&gt;
|-&lt;br /&gt;
|                         || &amp;lt;code&amp;gt;45 50 2a 00&amp;lt;/code&amp;gt; || [[MDI]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Compression ==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Compression scheme&lt;br /&gt;
|-&lt;br /&gt;
|1 || uncompressed&lt;br /&gt;
|-&lt;br /&gt;
|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]].&lt;br /&gt;
|-&lt;br /&gt;
|3 || 1- or 2-dimensional [[CCITT Group 3]], depending on the value of T4Options bit 0.&lt;br /&gt;
|-&lt;br /&gt;
|4 || [[CCITT Group 4]]&lt;br /&gt;
|-&lt;br /&gt;
|5 || [[LZW]]&lt;br /&gt;
|-&lt;br /&gt;
|6 || &amp;quot;Old style&amp;quot; [[JPEG]]&lt;br /&gt;
|-&lt;br /&gt;
|7 || &amp;quot;New style&amp;quot; [[JPEG]]&lt;br /&gt;
|-&lt;br /&gt;
|8 || [[DEFLATE]]&lt;br /&gt;
|-&lt;br /&gt;
|9, 10 || [[JBIG]] (refer to [[TIFF-FX]])&lt;br /&gt;
|-&lt;br /&gt;
|32766 || [[NeXT 2-bit RLE]]&lt;br /&gt;
|-&lt;br /&gt;
|32767 || (Used by [[Sony ARW]].)&lt;br /&gt;
|-&lt;br /&gt;
|32769 || Packed RAW / NIKON_PACK (Used by [[Epson ERF]].)&lt;br /&gt;
|-&lt;br /&gt;
|32770 || (Used by [[Samsung SRW]].)&lt;br /&gt;
|-&lt;br /&gt;
|32771 || CCITTRLEW. Same as code 2, except that rows are aligned on a 2-byte boundary.&lt;br /&gt;
|-&lt;br /&gt;
|32773 || [[PackBits]]&lt;br /&gt;
|-&lt;br /&gt;
|32809 || [[ThunderScan compression]]&lt;br /&gt;
|-&lt;br /&gt;
|32867 || Kodak KDC (unconfirmed)&lt;br /&gt;
|-&lt;br /&gt;
|32895, 32896, 32897, 32898 || IT8CTPAD, IT8LW, IT8MP, IT8BL (refer to [[TIFF/IT]])&lt;br /&gt;
|-&lt;br /&gt;
|32908 || PIXARFILM. Pixar 10-bit LZW&lt;br /&gt;
|-&lt;br /&gt;
|32909 || PIXARLOG. Pixar companded 11-bit ZIP&lt;br /&gt;
|-&lt;br /&gt;
|32946 || [[DEFLATE]] (same as code 8)&lt;br /&gt;
|-&lt;br /&gt;
|32947 || (Used by [[Kodak]] DCS.)&lt;br /&gt;
|-&lt;br /&gt;
|33003, 33005 || (Used by [[Aperio SVS]].)&lt;br /&gt;
|-&lt;br /&gt;
|34661 || [[JBIG]]&lt;br /&gt;
|-&lt;br /&gt;
|34676 || SGILOG. 32-bit SGI Log Luminance RLE&lt;br /&gt;
|-&lt;br /&gt;
|34677 || SGILOG24. 24-bit SGI Log Luminance packed&lt;br /&gt;
|-&lt;br /&gt;
|34692 || (Used by [[LuraDocument Format]].)&lt;br /&gt;
|-&lt;br /&gt;
|34712 || [[JPEG 2000]]&lt;br /&gt;
|-&lt;br /&gt;
|34713 || (Used by [[Nikon]] NEF.)&lt;br /&gt;
|-&lt;br /&gt;
|34715 || [[JBIG2]] ([[TIFF-FX]] extension)&lt;br /&gt;
|-&lt;br /&gt;
|34718, 34719, 34720 || (Used by [[MDI]].)&lt;br /&gt;
|-&lt;br /&gt;
|34892 || Lossy JPEG (refer to [[DNG]])&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Private/rogue compression codes:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Compression scheme&lt;br /&gt;
|-&lt;br /&gt;
|99 || JPEG (Used by [[Leaf MOS]].)&lt;br /&gt;
|-&lt;br /&gt;
|262 || Kodak 262 (unconfirmed)&lt;br /&gt;
|-&lt;br /&gt;
|65000 || (Used by [[Kodak]] DCR.)&lt;br /&gt;
|-&lt;br /&gt;
|65535 || (Used by [[Pentax PEF]].)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Color types ==&lt;br /&gt;
Tag 262 indicates the color type (&amp;quot;photometric interpretation&amp;quot;) of the image, as a coded integer. Some of the known color types are listed below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Color type&lt;br /&gt;
|-&lt;br /&gt;
|0 || Grayscale or bi-level, white is 0&lt;br /&gt;
|-&lt;br /&gt;
|1 || Grayscale or bi-level, black is 0&lt;br /&gt;
|-&lt;br /&gt;
|2 || RGB&lt;br /&gt;
|-&lt;br /&gt;
|3 || Palette color&lt;br /&gt;
|-&lt;br /&gt;
|5 || CMYK&lt;br /&gt;
|-&lt;br /&gt;
|6 || YCbCr&lt;br /&gt;
|-&lt;br /&gt;
|8 || CIE L*a*b*&lt;br /&gt;
|-&lt;br /&gt;
|9 || ICC L*a*b*&lt;br /&gt;
|-&lt;br /&gt;
|10 || ITU L*a*b* (refer to [[TIFF-FX]])&lt;br /&gt;
|-&lt;br /&gt;
|32803 || CFA (refer to [[DNG]])&lt;br /&gt;
|-&lt;br /&gt;
|32844 || CIE Log2(L)&lt;br /&gt;
|-&lt;br /&gt;
|32845 || CIE Log2(L) (u',v')&lt;br /&gt;
|-&lt;br /&gt;
|34892 || LinearRaw (refer to [[DNG]])&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Related formats ==&lt;br /&gt;
&lt;br /&gt;
See also [[:Category:TIFF]].&lt;br /&gt;
&lt;br /&gt;
* Tag 32932 contains [[TIFF annotation data]].&lt;br /&gt;
&lt;br /&gt;
* Tag 33723 contains [[IPTC]] data.&lt;br /&gt;
&lt;br /&gt;
* Tag 34377 contains [[Photoshop Image Resources]].&lt;br /&gt;
&lt;br /&gt;
* Tags 34665 (Exif IFD), 34853 (GPS IFD), and 40965 (Interoperability IFD) point to [[Exif]] directories.&lt;br /&gt;
&lt;br /&gt;
* Tag 34675 contains an [[ICC profile]].&lt;br /&gt;
&lt;br /&gt;
* Tag 37724 (ImageSourceData) contains &amp;quot;Layer and Mask Information&amp;quot; from [[PSD]] format.&lt;br /&gt;
&lt;br /&gt;
* Tag 50933 (ExtraCameraProfiles) points to [[DNG camera profile|DNG camera profiles]].&lt;br /&gt;
&lt;br /&gt;
* [[Cameras and Digital Image Sensors|Raw camera formats]] are often based on TIFF.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf TIFF, Revision 6.0] (1992-06-03)&lt;br /&gt;
* 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]&lt;br /&gt;
* 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]&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf Adobe PageMaker 6.0 TIFF Technical Notes] (1995-09-14)&lt;br /&gt;
* [http://partners.adobe.com/public/developer/en/tiff/TIFFphotoshop.pdf Adobe Photoshop TIFF Technical Notes] (2002-03-22) - Defines tag 37724, compression types 7 and 8, photometric interpretation types 8 and 9&lt;br /&gt;
* [http://chriscox.org/TIFFTN3d1.pdf Adobe Photoshop TIFF Technical Note 3] (2005-04-08)&lt;br /&gt;
* [http://www.digitalmeetsculture.net/wp-content/uploads/2015/04/EASY-INNOVA-4.-TIFF-A-Standard-Proposal.pdf TIFF/A draft specification] (2015-02)&lt;br /&gt;
&lt;br /&gt;
=== Metadata tags ===&lt;br /&gt;
* [http://www.awaresystems.be/imaging/tiff/tifftags.html AWare Systems TIFF Tag Reference]&lt;br /&gt;
* http://www.digitizationguidelines.gov/guidelines/TIFF_Metadata_Final.pdf&lt;br /&gt;
* http://www.digitalpreservation.gov/formats/content/tiff_tags.shtml&lt;br /&gt;
&lt;br /&gt;
== Metaformat files ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.synalysis.net/Grammars/tiff.grammar Synalysis grammar file] (for Hexinator / Synalize It!; [[Synalysis grammar file|more details]])&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
Most multi-format image viewers and editors support TIFF to some extent. Applications listed here have been selected arbitrarily.&lt;br /&gt;
* [[Konvertor]]&lt;br /&gt;
* [http://www.remotesensing.org/libtiff/ LibTIFF]&lt;br /&gt;
* [https://github.com/GPHemsley/tiff-js TIFF.js]&lt;br /&gt;
* [[XnView]]&lt;br /&gt;
* [http://www.irfanview.com/ IrfanView]&lt;br /&gt;
* [https://github.com/SLUB-digitalpreservation/fixit_tiff fixit_tiff (repairs TIFF files, example: broken datetime, wrong tag order)]&lt;br /&gt;
* [https://github.com/SLUB-digitalpreservation/checkit_tiff checkit_tiff (validates baseline TIFFs against textual rules)]&lt;br /&gt;
&lt;br /&gt;
== Sample files ==&lt;br /&gt;
* http://www.fileformat.info/format/tiff/sample/index.htm&lt;br /&gt;
* http://www.remotesensing.org/libtiff/images.html&lt;br /&gt;
* http://people.sc.fsu.edu/~jburkardt/data/tif/tif.html&lt;br /&gt;
* https://github.com/openplanets/format-corpus/tree/master/tiff-examples&lt;br /&gt;
* https://code.google.com/p/imagetestsuite/wiki/TIFFTestSuite&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [[Wikipedia:Tagged Image File Format|Wikipedia article]]&lt;br /&gt;
* {{EGFF|tiff|TIFF File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]&lt;br /&gt;
* [http://partners.adobe.com/public/developer/tiff/index.html Adobe Developer Resources for TIFF]&lt;br /&gt;
* [https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ Adobe Photoshop File Formats Specification] from October 2013&lt;br /&gt;
* [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)&lt;br /&gt;
* [https://twitter.com/angealbertini/status/532274856151109632/photo/1 TIFF chart]&lt;br /&gt;
* [http://wiki.dpconline.org/images/f/f3/TIFF_Assessment_v1.2_external.pdf TIFF Format Preservation Assessment (British Library)]&lt;br /&gt;
* [https://github.com/friesey/preservation-tools/releases/tag/v0.3_TiffAnalysis_alpha TIFF Analysis 3rd Release]&lt;br /&gt;
* [http://ti-a.org/ TI/A Standard Initiative]&lt;br /&gt;
&lt;br /&gt;
[[Category:Adobe]]&lt;/div&gt;</summary>
		<author><name>Aromeyke</name></author>	</entry>

	</feed>