SPIFF
From Just Solve the File Format Problem
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 those that are will most likely 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.
Contents |
Format
SPIFF files contain a JPEG APP8 segment, with an identifier of "SPIFF".
Compression schemes
Code | Compression scheme |
---|---|
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 (restricted to a few widely-supported varieties) |
6 | JPEG-LS |
Identification
A SPIFF file that uses JPEG compression should use file extension .jpg; otherwise .spf.
Valid SPIFF files begin with FF D8 FF E8 ?? ?? 'S' 'P' 'I' 'F' 'F' 00
.
Specifications
- ITU-T Rec. T.84 Annex F
- ITU-T Rec. T.86 - Includes information about registration of SPIFF extensions
- ITU-T Rec. T.87 - Defines compression type 6 (JPEG-LS)
- ISO/IEC 10918: Digital compression and coding of continuous-tone still images
- ISO/IEC 10918-3:1997 - Extensions
- ISO/IEC 10918-3:1997/Amd 1:1999 - Provisions to allow registration of new compression types and versions in the SPIFF header
- ISO/IEC 10918-4:1999 - Registration of JPEG profiles, SPIFF profiles, SPIFF tags, SPIFF colour spaces, APPn markers, SPIFF compression types and Registration Authorities (REGAUT)
- SO/IEC 10918-4:1999/Amd 1:2013 - Application specific marker list
- ISO/IEC 10918-3:1997 - Extensions