|Developed by||Joint Photographic Experts Group|
|Initial release||June 8, 2015|
|Type of format||lossy and lossless image format|
JPEG XT (ISO/IEC 18477) is an image compression standard which specifies backward-compatible extensions of the base JPEG standard (ISO/IEC 10918-1 and ITU Rec. T.81).
JPEG XT extends JPEG with support for higher integer bit depths, high dynamic range imaging and floating-point coding, lossless coding, alpha channel coding, and an extensible file format based on JFIF. It also includes reference software implementation and conformance testing specification.
JPEG XT extensions are backward compatible with base JPEG/JFIF file format - existing software is forward compatible and can read the JPEG XT binary stream, though it would only decode the base 8-bit lossy image.
The JPEG XT standard
JPEG standards are formally named as Information technology – Scalable compression and coding of continuous-tone still images. ISO/IEC 18477 consists of the following parts:
|Part||First public release date||ISO/IEC Number||ITU Number||Formal Title|
|Part 1||2015-06||ISO/IEC 18477-1||Core Coding System Specification|
|Part 2||2016-07||ISO/IEC 18477-2||Coding of High Dynamic Range Images|
|Part 3||2015-12||ISO/IEC 18477-3||Box file format|
|Part 4||2017-10||ISO/IEC 18477-4||Conformance Testing|
|Part 5||2018-03||ISO/IEC 18477-5||Reference software|
|Part 6||2016-02||ISO/IEC 18477-6||IDR Integer coding|
|Part 7||2017-05||ISO/IEC 18477-7||HDR Floating-Point Coding|
|Part 8||2016-10||ISO/IEC 18477-8||Lossless and Near-lossless Coding|
|Part 9||2016-10||ISO/IEC 18477-9||Alpha channel coding|
The core Part 1 of the standard defines the JPEG specifications in common use today, such as ISO/IEC 10918-1 (base format), 10918-5 JPEG File Interchange Format (JFIF), and 10918-6 (printing applications). It restricts the JPEG coding modes to baseline, sequential, and progressive Huffman, and includes JFIF definitions of Rec. 601 color space transformations with YCbCr chroma subsampling. The first specification was authored by Thomas Richter from Germany, Tim Bruylants and Peter Schelkens from Belgium, and Swiss-Iranian engineer Touradj Ebrahimi.
Part 3 Box file format defines an extensible format which is backward-compatible with JFIF. Extensions are based on 'boxes' - 64 KB chunks tagged by application marker 11 ('APP11'), containing enhancement data layers and additional binary metadata describing how to combine them with the base 8-bit layer to form full-precision image. Part 3 builds on the ISO base media file format used by JPEG 2000; similar arrangement was employed in the earlier JPEG-HDR format from Dolby Labs, which is standardized in JPEG XT Part 2.
Part 7 includes floating-point HDR coding tools which produce an enhancement image layer from full-precision image and gamma-corrected tone-mapped 8-bit base image layer. These tools are intended for high dynamic range imaging with multiple photo exposures and computer-generated images which exceed linear 16-bit integer precision.
It defines three main algorithms for reconstructing the HDR image: Profile A uses a common logarithmic scale factor for inverse tone-mapping of the base layer; Profile B uses a divisor image extension layer scaled by the common exposure value; Profile C is similar to A but uses per-component scaling factors and logarithmic space with piece-wise linear functions, which allows lossless encoding. Profile A is based on the Radiance RGBE image format and Profile B is based on the XDepth format from Trellis Management.
Profile D uses a simple algorithm which does not generate an enhancement image – the enhancement layer is used to store extended precision of discrete cosine transform (DCT) transfer coefficients, and non-gamma transfer function is applied to increase dynamic range to 12 bits. Backward compatibility is limited because legacy decoders do not understand new EOTF curves and produce undersaturated colors. Profile D is not implemented in reference software.
JPEG XT also allows mixing of various elements from different profiles in the code stream, allowing extended DCT precision and lossless encoding in all profiles (the 'Full Profile').
Part 6, Integer coding of Intermediate Dynamic Range (IDR) images, is an extension for coding 9 to 16-bit integer samples typical for RAW sensor data; its coding tools are identical to Part 7 Profile C.
Part 2 defines a HDR imaging implementation based on JPEG-HDR format from Dolby. It uses RGBE image format defined by Part 7 Profile A, supporting both integer and floating point samples; file format is based on Part 3 but uses proprietary text-based metadata syntax.
Part 8 Lossless coding is an extension of integer and floating point coding based on Part 7 Profile C, allowing for scalable lossy to lossless compression. For 10 and 12-bit precision, lossless integer-to-integer DCT is used, which replaces each rotation space with three shearings (similar to wavelet transform in JPEG2000). For 16 bit precision, a lossy fixed-point DCT approximation is specified by the standard and is required for decoders to implement. This makes it possible for the encoder to predict coding errors and store them in the enhancement layer, allowing lossless reconstruction. The error residuals in the enhancement layer can be either uncompressed, or compressed with lossless integer-to-integer DCT. Compression and image quality performance of Part 8 is comparable to PNG.
Part 9 Alpha channel extension allows lossy and lossless coding of transparent images and arbitrarily shaped images. It uses an opacity (transparency) layer, encoded with integer or floating point precision, and metadata to specify if content was pre-multiplied with alpha, or pre-multiplied and blended with background color.
In the future, privacy protection and security extensions would allow encoding of private image regions (or entire images) with reduced resolution, with digitally encrypted enhancement layers to restore full-resolution image only to those having the private decryption key. Only the public regions will be visible to those not having the key.
JPEG XT Part 2 HDR coding is based on Dolby JPEG-HDR format, created in 2005 by Greg Ward from BrightSide Technologies and Maryann Simmons from Walt Disney Feature Animation as a way to store high dynamic range images inside a standard JPEG file. BrightSide Technologies was acquired by Dolby Laboratories in 2007.
The image encoding is based on two-layer RGBE image format used by Radiance renderer, both of which were also created by Ward. Reduction in filesize is achieved by first converting the image into a tone mapped version, then storing a reconstructive multiplier image in APP11 markers in the same JPEG/JFIF file. Ordinary viewing software will ignore the multiplier image allowing anyone to see the tone mapped version of the image presented in a standard dynamic range and color gamut.
JPEG-HDR file format is similar to JPEG XT Part 3 Box file format but uses text-based metadata.
Reference software 
|Developer(s)||Thomas Richter /JPEG Reference AhG|
|Initial release||July 27, 2012|
1.65 / February 21, 2023
|License||GNU GPLv3; ISO|
ISO/IEC Joint Photography Experts Group maintains a reference software implementation for base JPEG (ISO/IEC 10918-1 and 18477-1) and JPEG XT extensions (ISO/IEC 18477 Parts 2 and 6-9), as well as JPEG-LS (ISO/IEC 14495). A reduced version without JPEG-LS, arithmetic coding, and a mozjpeg-like hierarchical progressive coder is available under the ISO license. As a contestant for the ICIP Grand Challenge, the author also includes some existing JPEG optimization techniques known as "JPEG on steroids" in the library.
A software JPEG-HDR encoder is provided by Dolby Labs; JPEG XT Part 7 Profile B software is provided by XDepth/Trellis Management; an implementation of all remaining parts was provided by the University of Stuttgart.
In April 2019, Luxembourg-based Sisvel announced the formation of a patent pool for JPEG-XT, although there is no list of claimed patents as of July 2021. Members of the pools included Dolby International AB and Trellis Europe S.r.l. However, as of around the first quarter of 2023, the licensing program has become legacy.
Sisvel's standard prices were .12 Euros for camera-based devices, and .06 Euros for camera-enabled devices.
- Thomas Richter, Alessandro Artusi, Touradj Ebrahimi, JPEG XT: A new family of JPEG backward-compatible standards, IEEE MultiMedia Magazine, Issue of July/Sept 2016. DOI: 10.1109/MMUL.2016.49. Pre-print version. https://jpeg.org/downloads/jpegxt/IEEE_MM-preprint-AA-TE.pdf
- Thomas Richter, Tim Bruylants, Peter Schelkens, Touradj Ebrahimi (22 September 2015). The JPEG XT Suite of Standards: Status and Future Plans
- Alessandro Artusi, Rafal K. Mantiuk, Thomas Richter, Pavel Korshunov, Philippe Hanhart, Touradj Ebrahimi, Massimiliano Agostinelli. JPEG XT: A Compression Standard for HDR and WCG Images (Standards in a Nutshell)
- Artusi, Alessandro; Mantiuk, Rafał K.; Richter, Thomas; Hanhart, Philippe; Korshunov, Pavel; Agostinelli, Massimiliano; Ten, Arkady; Ebrahimi, Touradj (2015-12-19). "Overview and evaluation of the JPEG XT HDR image compression standard". Journal of Real-Time Image Processing. 16 (2): 413–428. doi:10.1007/s11554-015-0547-x. ISSN 1861-8200. S2CID 14247192.
- "Discover home entertainment in Dolby".
- "OutBox page for Gregory Ward Larson".
- "Anyhere Software". anyhere.com.
- "pfstools About". pfstools.sourceforge.net.
- "Jpeg - Jpeg Xt".
- Richter, Thomas (September 2016). "JPEG on STEROIDS: Common optimization techniques for JPEG image compression". 2016 IEEE International Conference on Image Processing (ICIP). pp. 61–65. doi:10.1109/ICIP.2016.7532319. ISBN 978-1-4673-9961-6. S2CID 14922251.
- "Sisvel | We protect ideas - Sisvel announces the launch of the JPEG-XT Joint Licensing Program". www.sisvel.com. Retrieved 2021-07-02.
- "Sisvel | We protect ideas - JPEG-XT - Patent Owners". www.sisvel.com. Retrieved 2021-07-02.
- "Licensing Programs - Legacy programs". www.sisvel.com. Archived from the original on February 19, 2023. Retrieved 15 September 2023.
- "Sisvel | We protect ideas - JPEG-XT - License Terms". www.sisvel.com. Retrieved 2021-07-02.
- JPEG-HDR: A Backwards-Compatible, High Dynamic Range Extension to JPEG (pdf)
- Kunkel, Timo; Reinhard, Erik (2010). "A reassessment of the simultaneous dynamic range of the human visual system". Proceedings of the 7th Symposium on Applied Perception in Graphics and Visualization. Apgv '10. ACM. pp. 17–24. doi:10.1145/1836248.1836251. ISBN 978-1-4503-0248-7. S2CID 8956334. Retrieved 7 March 2016.