SPIFF
From Just Solve the File Format Problem
(Difference between revisions)
(Category:JPEG) |
|||
Line 47: | Line 47: | ||
* [http://www.itu.int/rec/T-REC-T.86 ITU-T Rec. T.86] - Includes information about registration of SPIFF extensions | * [http://www.itu.int/rec/T-REC-T.86 ITU-T Rec. T.86] - Includes information about registration of SPIFF extensions | ||
* [http://www.itu.int/rec/T-REC-T.87/en ITU-T Rec. T.87] - Defines compression type 6 (JPEG-LS) | * [http://www.itu.int/rec/T-REC-T.87/en ITU-T Rec. T.87] - Defines compression type 6 (JPEG-LS) | ||
+ | |||
+ | == Links == | ||
+ | * [http://www.fileformat.info/format/spiff/egff.htm SPIFF File Format Summary], from the Encyclopedia of Graphics File Formats | ||
[[Category:JPEG]] | [[Category:JPEG]] |
Revision as of 21:38, 21 October 2013
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)
Links
- SPIFF File Format Summary, from the Encyclopedia of Graphics File Formats