SPIFF

From Just Solve the File Format Problem
Revision as of 02:25, 25 June 2015 by Jsummers (Talk | contribs)

Jump to: navigation, search
File Format
Name SPIFF
Ontology
Extension(s) .jpg .jpeg
.spf
MIME Type(s) image/jpeg
LoCFDD fdd000019
PRONOM fmt/112

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

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox