SPIFF

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Graphics |extensions={{ext|jpg}}<br>{{ext|jpeg}}<br>{{ext|spf}}<br>{{ext|spiff}} |mimetypes={{mimetype|image/jpeg}} |pronom={{PRONO...")
 
(Category:JPEG (organization))
 
(10 intermediate revisions by one user not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|jpg}}<br>{{ext|jpeg}}<br>{{ext|spf}}<br>{{ext|spiff}}
+
|extensions={{ext|jpg}}, {{ext|jpeg}}, {{ext|spf}}
 
|mimetypes={{mimetype|image/jpeg}}
 
|mimetypes={{mimetype|image/jpeg}}
|pronom={{PRONOM|fmt/112}}
+
|locfdd={{LoCFDD|fdd000019}}
 +
|pronom={{PRONOM|fmt/112}}, {{PRONOM|fmt/113}}
 
}}
 
}}
== 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.
 
'''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 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.
 
It also supports additional image types and compression schemes that are incompatible with JPEG.
Line 19: Line 19:
 
=== Compression schemes ===
 
=== Compression schemes ===
  
* 0 = Uncompressed
+
{| class="wikitable"
* 1 = Rec T.4 MH (1-dimensional [[CCITT Group 3]])
+
! Code
* 2 = Rec T.4 MR (2-dimensional [[CCITT Group 3]])
+
! Compression scheme
* 3 = Rec T.6 MMR ([[CCITT Group 4]])
+
|-
* 4 = [[JBIG]]
+
|0 || Uncompressed
* 5 = [[JPEG]]
+
|-
 +
|1 || Rec T.4 [[Modified Huffman|MH]] (1-dimensional [[CCITT Group 3]])
 +
|-
 +
|2 || Rec T.4 [[Modified READ|MR]] (2-dimensional [[CCITT Group 3]])
 +
|-
 +
|3 || Rec T.6 [[Modified Modified READ|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 <code>FF D8 FF E8 ?? ?? 'S' 'P' 'I' 'F' 'F' 00</code>.
  
 
== Specifications ==
 
== Specifications ==
 
* [http://www.jpeg.org/public/spiff.pdf ITU-T Rec. T.84 Annex F]
 
* [http://www.jpeg.org/public/spiff.pdf ITU-T Rec. T.84 Annex F]
 
* [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)
 +
* ISO/IEC 10918: Digital compression and coding of continuous-tone still images
 +
** [http://www.iso.org/iso/catalogue_detail.htm?csnumber=25037 ISO/IEC 10918-3:1997] - Extensions
 +
*** [http://www.iso.org/iso/catalogue_detail.htm?csnumber=30961 ISO/IEC 10918-3:1997/Amd 1:1999] - Provisions to allow registration of new compression types and versions in the SPIFF header
 +
** [http://www.iso.org/iso/catalogue_detail.htm?csnumber=25431 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)
 +
*** [http://www.iso.org/iso/catalogue_detail.htm?csnumber=59454 SO/IEC 10918-4:1999/Amd 1:2013] - Application specific marker list
 +
 +
== Links ==
 +
* {{EGFF|spiff|SPIFF File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]
 +
 +
[[Category:JPEG (organization)]]
 +
[[Category:JPEG]]

Latest revision as of 22:22, 15 October 2019

File Format
Name SPIFF
Ontology
Extension(s) .jpg, .jpeg, .spf
MIME Type(s) image/jpeg
LoCFDD fdd000019
PRONOM fmt/112, fmt/113

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

[edit] Format

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

[edit] 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

[edit] 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.

[edit] Specifications

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox