SPIFF

Overview
Still Picture Interchange File Format (SPIFF) is an image file format based on the JPEG interchange format. It supports both lossy and lossless compression. It is not widely used.

It overlaps the JPEG standard. Some SPIFF files are valid JPEG files, and of those, many will be displayed correctly by a typical JPEG/JFIF viewer, even if it knows nothing about SPIFF.

It also supports additional image types and compression schemes that are incompatible with JPEG.

Format
SPIFF files contain a JPEG APP8 segment, with an identifier of "SPIFF".

Compression schemes

 * 0 = Uncompressed
 * 1 = Rec T.4 MH (1-dimensional CCITT Group 3)
 * 2 = Rec T.4 MR (2-dimensional CCITT Group 3)
 * 3 = Rec T.6 MMR (CCITT Group 4)
 * 4 = JBIG
 * 5 = JPEG

Specifications

 * ITU-T Rec. T.84 Annex F
 * ITU-T Rec. T.86 - Includes information about registration of SPIFF extensions