JFIF

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 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.

History

 * JFIF 1.00 was the original version.


 * JFIF 1.01 may have changed the subsampling position to centered.


 * JFIF 1.02 added an optional JFXX segment, capable of storing a compressed thumbnail image.

Specifications

 * JFIF standard, version 1.02