IFF
From Just Solve the File Format Problem
				
								
				(Difference between revisions)
				
																
				
				
								
				Dan Tobias  (Talk | contribs)  | 
			Dan Tobias  (Talk | contribs)   (→Resources)  | 
			||
| Line 25: | Line 25: | ||
==Resources==  | ==Resources==  | ||
| − | * [http://www.martinreddy.net/gfx/2d/IFF.txt The original EA spec]  | + | * [http://www.martinreddy.net/gfx/2d/IFF.txt The original EA spec] ([http://www.textfiles.com/programming/FORMATS/ea.iff Another copy at textfiles.com])  | 
* [http://wiki.amigaos.net/index.php/IFF_FORM_and_Chunk_Registry IFF chunk registry], defining all known chunks  | * [http://wiki.amigaos.net/index.php/IFF_FORM_and_Chunk_Registry IFF chunk registry], defining all known chunks  | ||
* [http://wiki.amigaos.net/index.php/IFF_Source_Code IFF Source Code]  | * [http://wiki.amigaos.net/index.php/IFF_Source_Code IFF Source Code]  | ||
Revision as of 12:50, 2 October 2013
Overview
IFF (Interchange File Format) is a file format introduced by Electronic Arts on the Commodore Amiga computer. Its structure is similar to RIFF or PNG, using various self-contained chunks to contain different data.
Although IFF is most commonly used as an image format (using the file extension .iff), it can actually hold a lot of different data types. Some examples of IFF files are
- ILBM Interleaved bitmap image
 - XMI XMidi music files
 - 8SVX audio sample data
 - SX2 Propellerhead Reason NN-XT patches
 - ANIM
 
Some other formats are largely or heavily influenced by the IFF standard, but are not compatible. These include, for example:
- Erlang BEAM compiled modules[1][2]: Uses 4 byte alignment instead of 2 byte, and the root chunk has a different ID (
FOR1instead ofFORM) - Microsoft's RIFF and RIFX formats are based on IFF (RIFF uses little-endian byte order instead, and the root chunk is called 
RIFFinstead ofFORM) - Apple's AIFF and AIFC formats are similar to IFF/RIFF as well
 - Maya IFF