JFIF

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|jpg}} {{ext|jpeg}}<br>{{ext|jpe}} {{ext|jfif}}<br>{{ext|jfi}}
+
|extensions={{ext|jpg}}, {{ext|jpeg}}, {{ext|jfif}}, {{ext|jfi}}
 
|mimetypes={{mimetype|image/jpeg}}
 
|mimetypes={{mimetype|image/jpeg}}
 
|locfdd={{LoCFDD|fdd000018}}
 
|locfdd={{LoCFDD|fdd000018}}
 
|pronom={{PRONOM|fmt/44}}
 
|pronom={{PRONOM|fmt/44}}
 
}}
 
}}
'''JFIF''' (JPEG File Interchange Format) is a standard that defines a portable subset of the [[JPEG]] interchange format. Most of the JPEG files in existence conform to JFIF.
+
'''JFIF''' ('''JPEG File Interchange Format''') is a standard that defines a portable subset of the [[JPEG]] file format. Most of the JPEG files in existence conform to JFIF.
  
 
JFIF defines JPEG application segments which serve to identify JFIF files, and to store a small amount of metadata: the pixel density, and a thumbnail image.
 
JFIF defines JPEG application segments which serve to identify JFIF files, and to store a small amount of metadata: the pixel density, and a thumbnail image.
Line 15: Line 15:
 
* The image has a particular orientation.
 
* The image has a particular orientation.
 
* If the image is subsampled, it uses a particular subsampling position.
 
* If the image is subsampled, it uses a particular subsampling position.
 +
 +
== Disambiguation ==
 +
Don't confuse '''JPEG File Interchange Format''' with '''JPEG Interchange Format'''. The former is '''JFIF'''; the latter means approximately the same thing as [[JPEG]].
  
 
== Identification ==
 
== Identification ==
Line 27: Line 30:
 
* JFIF 1.02 (September 1, 1992; PRONOM: {{PRONOM|fmt/44}}) added an optional JFXX segment, capable of storing a compressed thumbnail image.
 
* JFIF 1.02 (September 1, 1992; PRONOM: {{PRONOM|fmt/44}}) added an optional JFXX segment, capable of storing a compressed thumbnail image.
  
* JFIF 2.x (2014?): The Independent JPEG Group plans<ref>http://www.infai.org/jpeg/</ref> to release libjpeg 9a in early 2014, which they say will support "JFIF version 2".
+
* JFIF 2.xx (2014?): The Independent JPEG Group plans<ref>http://www.infai.org/jpeg/</ref> to release libjpeg 9a in early 2014, which they say will support something called "JFIF version 2".
  
 
== Specifications ==
 
== Specifications ==
 
* [ftp://ftp.tnt.uni-hannover.de/pub/tmp/visualization/graphic-formats/jpeg.jfif.doc.1.01.ps.Z JFIF version 1.01]
 
* [ftp://ftp.tnt.uni-hannover.de/pub/tmp/visualization/graphic-formats/jpeg.jfif.doc.1.01.ps.Z JFIF version 1.01]
 
* [http://www.w3.org/Graphics/JPEG/jfif3.pdf JFIF version 1.02]
 
* [http://www.w3.org/Graphics/JPEG/jfif3.pdf JFIF version 1.02]
* ITU-T Recommendation T.871
+
* [http://www.itu.int/rec/T-REC-T.871/en ITU-T Rec. T.871] (not free to download)
  
 
== References ==
 
== References ==
 
<references/>
 
<references/>

Revision as of 00:51, 16 August 2013

File Format
Name JFIF
Ontology
Extension(s) .jpg, .jpeg, .jfif, .jfi
MIME Type(s) image/jpeg
LoCFDD fdd000018
PRONOM fmt/44

JFIF (JPEG File Interchange Format) is a standard that defines a portable subset of the JPEG file format. Most of the JPEG files in existence conform to JFIF.

JFIF defines JPEG application segments which serve to identify JFIF files, and to store a small amount of metadata: the pixel density, and a thumbnail image.

The presence of a JFIF segment implies that:

  • If the image has three components, its color format is YCbCr. If it has one component, its color format is grayscale.
  • The image has a particular orientation.
  • If the image is subsampled, it uses a particular subsampling position.

Contents

Disambiguation

Don't confuse JPEG File Interchange Format with JPEG Interchange Format. The former is JFIF; the latter means approximately the same thing as JPEG.

Identification

Valid JFIF files begin with FF D8 FF E0 ?? ?? 'J' 'F' 'I' 'F' 00. Some technically-invalid files exist in which the JFIF segment has been relocated, and for them this signature will not match.

History

  • JFIF 1.00 (PRONOM: fmt/42) was the original version.
  • JFIF 1.01 (December 10, 1991; PRONOM: fmt/43) may have changed the subsampling position to centered.
  • JFIF 1.02 (September 1, 1992; PRONOM: fmt/44) added an optional JFXX segment, capable of storing a compressed thumbnail image.
  • JFIF 2.xx (2014?): The Independent JPEG Group plans[1] to release libjpeg 9a in early 2014, which they say will support something called "JFIF version 2".

Specifications

References

  1. http://www.infai.org/jpeg/
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox