Generated by GPT-5-mini| JPEG | |
|---|---|
![]() | |
| Name | JPEG |
| Extension | .jpg, .jpeg, .jpe |
| Owner | Joint Photographic Experts Group |
| Type | Lossy raster image |
| Release | 1992 (ISO/IEC 10918-1) |
| Standard | ISO/IEC 10918-1 |
JPEG The JPEG standard is a widely adopted lossy image compression method and file interchange format developed for photographic and continuous-tone imagery. It arose from international standardization efforts and has influenced digital imaging in photography, publishing, broadcasting, and the World Wide Web. The format balances visual fidelity, storage efficiency, and computational cost, and its design reflects contributions from standards bodies, research laboratories, and commercial vendors.
The development of JPEG was coordinated by the Joint Photographic Experts Group, a committee jointly established by ISO and ITU-T with contributions from researchers at organizations such as Bell Labs, Kodak, MIT, Bell Telephone Laboratories, and Nokia. Work began in the mid-1980s amid growing demand for digital still image interchange among projects like MPEG-1 and research from laboratories including Bell Labs and university groups at Stanford University and University of California, Berkeley. The first formal standard, ISO/IEC 10918-1, was published in 1992 after consensus within the ISO subcommittees and subsequent coordination with IEC and ITU-T. Over successive amendments and profiles, additional features and extensions were standardized through collaborations that included ITU-T Study Group 8 and national bodies such as ANSI and DIN.
JPEG encodes color images by exploiting perceptual properties of human vision and statistical redundancy. The standard defines color space handling commonly using YCbCr conversion from device color models like sRGB and allows chroma subsampling patterns (e.g., 4:4:4, 4:2:2, 4:2:0) widely supported in digital cameras from vendors such as Canon, Nikon, and Sony. The codec pipeline incorporates linear transforms, blockwise processing into 8×8 samples, frequency-domain transformation via the Discrete Cosine Transform, quantization matrices influenced by psychovisual models, and entropy coding mechanisms standardized alongside refinements contributed by researchers from Adobe Systems and research groups at IBM.
JPEG's core compression combines the Discrete Cosine Transform (DCT), quantization, and entropy coding. After color conversion, image data is partitioned into 8×8 blocks as used in implementations by companies like Sun Microsystems and in software such as GIMP and Adobe Photoshop. Each block is transformed by the DCT into frequency coefficients, then scaled by quantization matrices specified in ISO/IEC 10918-1; those matrices were influenced by psychophysical studies from institutions like MIT and Bell Labs. The quantized coefficients are arranged in zigzag order and compressed using entropy coders—either Huffman coding, with tables that may be customized by encoders such as Independent JPEG Group libraries, or arithmetic coding from pioneers such as Jorma Rissanen and standardized options within the committee. Progressive and sequential scans, restart markers, and optional lossless modes were defined to support various encoder and decoder trade-offs considered by contributors from Microsoft and camera manufacturers including Olympus.
The JPEG baseline file format encapsulates compressed image data in a stream of markers and segments defined by ISO/IEC 10918-1. Common file extensions include .jpg and .jpeg; container specifics were extended by companion standards such as JFIF and Exif to provide application-level conventions for pixel density, color space, and camera metadata used by manufacturers Canon, Nikon, and Sony. Metadata tags from Exchangeable image file format capture camera model, exposure settings, and timestamps; other metadata mechanisms include XMP packets popularized by Adobe Systems and IPTC fields used in press photography agencies like Associated Press. Application segments can carry thumbnails, ICC profiles from International Color Consortium, and markers for progressive scans and restart intervals to aid resilient transmission over networks like those governed by IETF protocols.
Software libraries and applications provide encoders and decoders for the standard. The Independent JPEG Group developed libjpeg widely used in Linux distributions and web servers such as Apache HTTP Server, while commercial offerings and open-source forks (e.g., libjpeg-turbo) optimize using SIMD instructions from processor vendors like Intel and ARM. Image editors and viewers—Adobe Photoshop, GIMP, IrfanView, ImageMagick—and web browsers including Mozilla Firefox, Google Chrome, and Microsoft Edge embed JPEG support. Camera firmware from manufacturers such as Canon, Nikon, and Sony implements on-device JPEG encoding pipelines, and multimedia frameworks like FFmpeg and libraries in Qt and GTK provide bindings for rapid application development.
JPEG is ubiquitous in digital photography, web imagery, publishing workflows at outlets such as The New York Times and BBC News, and in storage for consumer electronics like smartphones from Apple and Samsung. Its efficiency for photographic content makes it unsuitable for images with sharp edges or synthetic graphics, where artifacts are introduced at block boundaries—a concern in print production by firms like Kodak and in archival contexts at institutions such as the Library of Congress. The lossy nature complicates forensic analysis undertaken by law enforcement agencies including FBI when provenance matters, and repeated recompression degrades quality, a problem addressed by workflows in Adobe Lightroom and digital asset management systems at organizations such as Getty Images.
Extensions and successors emerged to address JPEG limitations. The JPEG committee standardized lossless and progressive modes and later produced JPEG 2000 (ISO/IEC 15444) offering wavelet-based compression with contributions from institutions like Sarnoff Corporation and Los Alamos National Laboratory. Other successors and competitors include JPEG XR from Microsoft Research, the modern WebP format developed by Google, and HEIF based on HEVC by groups including MPEG. Contemporary initiatives under the JPEG Committee include newer standards such as JPEG XS and JPEG XL designed for low-latency and improved compression efficiency with adoption efforts involving companies like Apple, Google, Netflix, and hardware vendors including NVIDIA.
Category:Image file formats