JPEG File Interchange Format

JPEG File Interchange Format

The JPEG File Interchange Format (JFIF) is an image file format standard. It is a format for exchanging JPEG encoded files compliant with the JPEG Interchange Format ("JIF") standard. It solves some of "JIF"'s limitations in regard to simple JPEG encoded file interchange. As with all JIF compliant files, image data in JFIF files is compressed using the techniques in the JPEG standard, hence JFIF is sometimes referred to as "JPEG/JFIF".

Purpose

JFIF defines a number of details that are left unspecified by the JPEG standard (ISO/IEC IS 10918-1, ITU-T Recommendation T.81):

Component sample registration

JPEG allows multiple components (such as Y, Cb, and Cr) to have different resolutions, but it doesn't define how those differing sample arrays should be aligned. The JFIF standard requires samples to be sited "interstitially" — meaning the decoder can treat each component array as representing an array of equal-sized rectangular pixels sampled in their centers, with each array having the same exterior boundaries as the image. This is convenient for computer users, but is not the alignment used in MPEG-2 and most video applications.

Resolution and aspect ratio

The JPEG standard does not include any method of coding the resolution or aspect ratio of an image. JFIF provides resolution or aspect ratio information using an application segment extension to JPEG. It uses Application Segment #0, with a segment header of 'JFIFx00', and specifies that this must be the first segment in the file, hence making it simple to recognise a JFIF file. Exif images recorded by digital cameras generally do not include this segment, but typically comply in all other respects with the JFIF standard.

Color space

JPEG does not define which color encoding is to be used for images. JFIF defines the color model to be used: either Y for greyscale, or YCbCr as defined by CCIR 601. Since this is not an absolute color space — unless an ICC profile, colorspace metadata, or an sRGB tag is provided and interpreted – a decoded JFIF image will be in a device-dependent RGB colorspace. Hence, JFIF does not by itself provide a mechanism for accurately transporting color-managed images across the Internet.

History

The standard was established on March 1, 1991 in a meeting at C-Cube Microsystems involving representitives of many companies, including C-Cube Microsystems, Radius, NeXT, Storm Tech, the PD JPEG group, Sun, and Handmade Software. The standard appears to have lost ownership, since C-Cube Microsystems is now defunct, and further development of the standard is dead. The latest version is v1.02, published September 1, 1992.

MIME Type

In 1996, RFC 2046 specified that the image format used for transmitting JPEG images across the internet should be JFIF. The MIME type of "image/jpeg" must be encoded as JFIF. In practice, however, virtually all Internet software can decode any baseline "JIF" image that uses Y or YCbCr components, whether it is JFIF compliant or not.

Exif/Photoshop compatibility

Formally, the Exif and JFIF standards are incompatible. This is because both specify that their particular application segment (APP0 for JFIF, APP1 for Exif) must be the first in the image file.In practice, many programs and digital cameras produce files with both application segments included. This will not affect the image decoding for most decoders, but poorly designed JFIF or Exif parsers may not recognise the file properly.

JFIF is compatible with Adobe Photoshop's JPEG "Information Resource Block" extensions, and IPTC Information Interchange Model metadata, since JFIF does not preclude other application segments, and the Photoshop extensions are not required to be the first in the file. However, Photoshop generally saves CMYK buffers as four-component "Adobe JPEGs" that are not conformant with JFIF. Since these files are not in a YCbCr color space, they are typically not decodable by Web browsers and other Internet software.

Exif comparison

The newer Exif standard provides almost all the features of the JFIF standard within its feature set. In particular, images can be tagged with an absolute color space, sRGB.

File format structure

The JFIF meta data resides in the JPEG Application Segment APP0, having the zero-terminated ASCII string "JFIF" as segment header.

JFIF segment format

External links

* [http://www.w3.org/Graphics/JPEG/jfif3.pdf JPEG File Interchange Format Specification v1.02] , September 1, 1992.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • JPEG File Interchange Format — Dateiendung: .jpg, .jpeg, .jpe, .jfif MIME Type …   Deutsch Wikipedia

  • JPEG File Interchange Format — Extension .jpeg, .jpg, .jpe, .jfif, .jfi Type MIME image/jpeg Développé par Joint Photographic Experts Group Type de format format d’image matriciel avec perte Standard(s) ISO/CE …   Wikipédia en Français

  • Resource File Interchange Format — Resource Interchange File Format Le Resource Interchange File Format (RIFF) est un ensemble de spécifications définies par Microsoft pour les fichiers multimédias intégrant des identificateurs pour chacun de leurs éléments (son, vidéo, etc.). Ce… …   Wikipédia en Français

  • Graphic Interchange Format — Bei Fotos wie diesem macht sich bei ganz genauem Hinsehen die Beschränkung auf 256 Farben bemerkbar. Das Bild wirkt hier durch Dithering grobkörnig. GIF (/dʒɪf/ oder /gɪf/) für Graphics Interchange Format (e …   Deutsch Wikipedia

  • .jpeg — File Interchange Format JPEG File Interchange Format Extension de fichier .jpeg, .jpg, .jpe, .jfif, .jfi Type MIME image/jpeg Développé par Joint Photographic Experts Group Type de format format d’image matriciel avec perte …   Wikipédia en Français

  • JPEG-HDR — is an extension to the standard JPEG image file format allowing it to store High dynamic range images.OverviewJPEG HDR was created by Greg Ward and Maryann Simmons as a way to store High dynamic range images inside a standard JPEG image… …   Wikipedia

  • JPEG — For other uses, see JPEG (disambiguation). Joint Photographic Experts Group A photo of a cat compressed with successively more lossy compression ratios from right to left Filename extension .jpg …   Wikipedia

  • .jpeg — Dieser Artikel beschreibt die Norm zur Bildkompression. Für das Dateiformat mit der Dateiendung .jpg oder .jpeg, in dem mit diesen Verfahren komprimierte Bilder üblicherweise gespeichert werden, siehe JPEG File Interchange Format. Ein Bild einer… …   Deutsch Wikipedia

  • JPeg — Joint Photographic Experts Group  Cet article concerne le groupe. Pour pour le format, voir JPEG. Joint Photographic Experts Group (JPEG), nom d un groupe de travail en partenariat ISO et CEI (d où le joint pour mixte). Créé en 1986, il… …   Wikipédia en Français

  • Jpeg — Joint Photographic Experts Group  Cet article concerne le groupe. Pour pour le format, voir JPEG. Joint Photographic Experts Group (JPEG), nom d un groupe de travail en partenariat ISO et CEI (d où le joint pour mixte). Créé en 1986, il… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”