JPEG XR


JPEG XR is a still-image compression standard and file format for continuous tone photographic images, based on technology originally developed and patented by Microsoft under the name HD Photo. It supports both lossy and lossless compression, and is the preferred image format for Ecma-388 Open XML Paper Specification documents.
Support for the format is available in Adobe Flash Player 11.0, Adobe AIR 3.0, Sumatra PDF 2.1, Windows Imaging Component,.NET Framework 3.0, Windows Vista, Windows 7, Windows 8, Internet Explorer 9, Internet Explorer 10, Internet Explorer 11, Pale Moon 27.2. As of August 2014, there were still no cameras that shoot photos in the JPEG XR format.

History

Microsoft first announced Windows Media Photo at WinHEC 2006, and then renamed it to HD Photo in November of that year. In July 2007, the Joint Photographic Experts Group and Microsoft announced HD Photo to be under consideration to become a JPEG standard known as JPEG XR. On 16 March 2009, JPEG XR was given final approval as ITU-T Recommendation T.832 and starting in April 2009, it became available from the ITU-T in "pre-published" form. On 19 June 2009, it passed an ISO/IEC Final Draft International Standard ballot, resulting in final approval as International Standard ISO/IEC 29199-2. The ITU-T updated its publication with a corrigendum approved in December 2009, and ISO/IEC issued a new edition with similar corrections on 30 September 2010.
In 2010, after completion of the image coding specification, the ITU-T and ISO/IEC also published a motion format specification, a conformance test set, and reference software for JPEG XR. In 2011, they published a technical report describing the workflow architecture for the use of JPEG XR images in applications.

Description

Capabilities

JPEG XR is an image file format that offers several key improvements over JPEG, including:
; Better compression: JPEG XR file format supports higher compression ratios in comparison to JPEG for encoding an image with equivalent quality.
; Lossless compression: JPEG XR also supports lossless compression. The signal processing steps in JPEG XR are the same for both lossless and lossy coding. This makes the lossless mode simple to support and enables the "trimming" of some bits from a lossless compressed image to produce a lossy compressed image.
; Tile structure support: A JPEG XR coded image can be segmented into tile regions. The data for each region can be decoded separately. This enables rapid access to parts of an image without needing to decode the entire image. When a type of tiling referred to as "soft tiling" is used, the tile region structuring can be changed without fully decoding the image and without introducing additional distortion.
; Support for more color accuracy: JPEG XR supports a wide variety of image color representations in addition to the conventional 8-bit-per-sample YUV encoding that is typically used for the original JPEG standard.
; Transparency map support: An alpha channel may be present to represent transparency, so that alpha blending overlay capability is enabled.
; Compressed-domain image modification: In JPEG XR, full decoding of the image is unnecessary for converting an image from a lossless to lossy encoding, reducing the fidelity of a lossy encoding, or reducing the encoded image resolution.
; Metadata support: A JPEG XR image file may optionally contain an embedded ICC color profile, to achieve consistent color representation across multiple devices.

Container format

One file container format that can be used to store JPEG XR image data is specified in Annex A of the JPEG XR standard. It is a TIFF-like format using a table of Image File Directory tags. A JPEG XR file contains image data, optional alpha channel data, metadata, optional XMP metadata stored as RDF/XML, and optional Exif metadata, in IFD tags. The image data is a contiguous self-contained chunk of data. The optional alpha channel, if present, can be compressed as a separate image record, enabling decoding of the image data independently of transparency data in applications which do not support transparency.
Being TIFF-based, this format inherits all of the limitations of the TIFF format including the 4 GB file-size limit, which according to the HD Photo specification "will be addressed in a future update".
New work has been started in the JPEG committee to enable the use of JPEG XR image coding within the JPX file storage format — enabling use of the JPIP protocol, which allows interactive browsing of networked images. Additionally, a Motion JPEG XR specification was approved as an ISO standard for motion compression in March 2010.

Compression algorithm

JPEG XR's design is conceptually very similar to JPEG: the source image is optionally converted to a luma-chroma colorspace, the chroma planes are optionally subsampled, each plane is divided into fixed-size blocks, the blocks are transformed into the frequency domain, and the frequency coefficients are quantized and entropy coded. Major differences include the following:
The HD Photo bitstream specification claims that "HD Photo offers image quality comparable to JPEG-2000 with computational and memory performance more closely comparable to JPEG", that it "delivers a lossy compressed image of better perceptive quality than JPEG at less than half the file size", and that "lossless compressed images … are typically 2.5 times smaller than the original uncompressed data".

Software support

A reference software implementation of JPEG XR has been published as ITU-T Recommendation T.835 and ISO/IEC International Standard 29199-5.
The following notable software products natively support JPEG XR:
Product NamePublisherRead supportWrite support
Capture One 7 or laterPhase One
Corel Paint Shop Pro X2 or laterCorel
Fast Picture ViewerAxel Rietschin Software Developments
ImageMagickImageMagick Studio LLC
Internet Explorer 9Microsoft
Microsoft Expression DesignMicrosoft
Microsoft Expression MediaMicrosoft
Microsoft Image Composite EditorMicrosoft
Paint.NETRick Brewster
Pale Moon Moonchild productions
PhotoLineComputerinsel
Serif PhotoPlus X7Serif Europe
Windows Live Photo GalleryMicrosoft
Windows Photo GalleryMicrosoft
Windows Photo ViewerMicrosoft
Xara Designer ProXara Group Limited
XnViewPierre-Emmanuel Gougelet
Zoner Photo Studio 13 or laterZoner Software

The following notable software support JPEG XR through a Plug-in:
Product namePublisherPlug-in namePlug-in publisherRead supportWrite support
Adobe Photoshop Adobe SystemsJPEG XR File Format Plug-in for PhotoshopMicrosoft Corporation
GIMPThe GIMP Development TeamJPEG XR plugin for GIMPC. Hausner
IrfanView 4.25 and laterIrfan SkiljanHDP version 4.26Irfan Skiljan
Paint.NETRick BrewsterJPEG XR plugin for Paint.NETC. Hausner
Quick LookApple Inc.JPEG XR plugin for Quick LookB. Hoary

The following APIs and software frameworks support JPEG XR and may be used in other software to provide JPEG XR support to end users:
Product NamePublisherRead supportWrite support
Adobe Integrated Runtime 3.3Adobe Systems
Adobe Flash Player 11.3Adobe Systems
Integrated Performance Primitives Intel
Windows Imaging Component Microsoft

The 2011 video game Rage employs JPEG XR compression to compress its textures.

Licensing

Microsoft has patents on the technology in JPEG XR. A Microsoft representative stated in a January 2007 interview that in order to encourage the adoption and use of HD Photo, the specification is made available under the Microsoft Open Specification Promise, which asserts that Microsoft allows implementation of the specification for free, and will not file suits on the patented technology for its implementation, as reportedly stated by Josh Weisberg, director of Microsoft's Rich Media Group. As of 15 August 2010, Microsoft made the resulting JPEG XR standard available under its Community Promise.
In July 2010, reference software to implement the JPEG XR standard was published as ITU-T Recommendation T.835 and International Standard ISO/IEC 29199-5. Microsoft included these publications in the list of specifications covered by its Community Promise.
In April 2013, Microsoft released an open source JPEG XR library under the BSD licence. This resolved any licensing issues with the library being implemented in software packages distributed under popular open source licences such as the GNU General Public License, with which the previously released "HD Photo Device Porting Kit" was incompatible.