JPEG XR explained

JPEG XR
Owner:Microsoft, ITU-T, ISO/IEC
Latest Release Version:06/2019 (ITU-T); 2020 edition (ISO/IEC)
Genre:Graphics file format
Contained By:TIFF
Open:Yes
Standard:ITU-T Rec. T.832 (06/2019),
ISO/IEC 29199-2:2020
Url:ITU-T T.832 (06/2019),
ISO/IEC 29199-2:2020

JPEG XR[1] (JPEG extended range[2]) is an image compression standard for continuous tone photographic images, based on the HD Photo (formerly Windows Media Photo) specifications that Microsoft originally developed and patented.[3] 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 was made 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.[4] [5] [6] As of January 2021, there were still no cameras that shoot photos in the JPEG XR (.JXR) format.

History

Microsoft first announced Windows Media Photo at WinHEC 2006,[7] 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.[8] [9] 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 (FDIS) ballot, resulting in final approval as International Standard ISO/IEC 29199-2.[10] [11] 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.[12]

In 2010, after completion of the image coding specification, the ITU-T and ISO/IEC also published a motion format specification (ITU-T T.833 | ISO/IEC 29199-3), a conformance test set (ITU-T T.834 | ISO/IEC 29199-4), and reference software (ITU-T T.835 | ISO/IEC 29199-5) for JPEG XR. In 2011, they published a technical report describing the workflow architecture for the use of JPEG XR images in applications (ITU-T T.Sup2 | ISO/IEC TR 29199-1).

Description

Capabilities

JPEG XR is an image file format that offers several key improvements over JPEG, including:[13]

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 (formally YCbCr) encoding that is typically used for the original JPEG standard.

For support of images using an RGB color space, JPEG XR includes an internal conversion to the YCoCg color space, and supports a variety of bit depth and color representation packing schemes. These can be used with and without an accompanying alpha channel for shape masking and semi-transparency support, and some of them have much higher precision than what has typically been used for image coding. They include:

JPEG XR also supports 16 bits per component (64-bit per pixel) integer CMYK color model.[14]

16-bit and 32-bit fixed point color component codings are also supported in JPEG XR. In such encodings, the most-significant 4 bits of each color channel are treated as providing additional "headroom" and "toe room" beyond the range of values that represents the nominal black-to-white signal range.

Moreover, 16-bit and 32-bit floating point color component codings are supported in JPEG XR. In these cases the image is interpreted as floating point data, although the JPEG XR encoding and decoding steps are all performed using only integer operations (to simplify the compression processing).

The shared-exponent floating point color format known as RGBE (Radiance) is also supported, enabling more faithful storage of high-dynamic-range (HDR) images.

In addition to RGB and CMYK formats, JPEG XR also supports grayscale and multi-channel color encodings with an arbitrary number of channels.

The color representations, in most cases, are transformed to an internal color representation. The transformation is entirely reversible, so that this color transformation step does not introduce distortion and thus lossless coding modes can be supported.

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.

Full decoding is also unnecessary for certain editing operations such as cropping, horizontal or vertical flips, or cardinal rotations.

The tile structure for access to image regions can also be changed without full decoding and without introducing distortion.

Metadata support: A JPEG XR image file may optionally contain an embedded ICC color profile, to achieve consistent color representation across multiple devices.

Exif and XMP metadata formats are also supported.

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 (IFD) 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. (Alternatively, JPEG XR also supports an "interleaved" alpha channel format in which the alpha channel data is encoded together with the other image data in a single compressed codestream.)

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".[15]

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.[10] Additionally, a Motion JPEG XR specification was approved as an ISO standard for motion (video) compression in March 2010.[16]

Compression algorithm

JPEG XR's design[17] 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:

V=B-R

U=G-R-\left\lceil

V
2

\right\rceil

Y=G-\left\lceil

U
2

\right\rceil

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 Name Publisher Read support Write support
Microsoft PhotosMicrosoft
HDR + WCG Image ViewerSimon Tao
Affinity PhotoSerif Europe
jxrlib, can remux out of .jxr while keeping the hdr metadata to .tif to further remux it back to any other hdr format [<nowiki/>[[OpenEXR|.exr]], .hdr] using an appropriate software on this page, because .tif can contain hdr metadata but not directly display the eotf in viewer
Axel Rietschin Software Developments [25] not in hdr
[26] [27] deprecated
Microsoft [28] deprecated
Microsoft deprecated
Microsoft [29] deprecated
Rick Brewster [30] not in hdr
Moonchild Productions[31] deprecated
Serif PhotoPlus X7 deprecated
Microsoft deprecated
Microsoft deprecated
Microsoft deprecated
Pierre-Emmanuel Gougelet [32] [33] not in hdr
Zoner Photo Studio 13 or later Zoner Software not in hdr, cannotcannot developpexport to hdr format

The following notable software support JPEG XR through a Plug-in:

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 Name Publisher Read support Write support
Adobe PhotoshopAdobe Systemsofficial JPEGX Plug-in for Photoshop
Adobe Integrated Runtime 3.3 [34]
Adobe Flash Player 11.3
Integrated Performance Primitives (IPP) Intel [35] [36]
Windows Imaging Component (WIC) Microsoft

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

.jxr are images created for hdr screenshots by [<nowiki/>[[Xbox (app)|xbox gamebar]], nvidia shadowplay, obs, special k].

once the image is out of it s original .jxr container, no software exists to remux back to .jxr again (jxrencapp.exe from jxrlib corrupt the file, and the other softwares on this list when possible to export in .jxr corrupt the file as well).

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,[38] 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.[39]

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.[39]

In April 2013, Microsoft released jxrlib, an open source JPEG XR library under the BSD licence.[40] [41] 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"[42] was incompatible.

See also

External links

Links to standardization publication pages
Links to information from Microsoft
Links to information from others

Notes and References

  1. Web site: Introducing HD Photo . Microsoft . Bill Crow's Digital Imaging & Photography Blog . Bill . Crow . 17 November 2006.
  2. Web site: Industry Standardization for HD Photo . Microsoft . Bill Crow's Digital Imaging & Photography Blog . Bill . Crow . 31 July 2007.
  3. Web site: HD Photo, Version 1.0 (Windows Media Photo) . . Digital Preservation . 19 February 2008 .
  4. Web site: Readme . jxrlib repo . . matthewu . 31 January 2014 . 2014-03-15 . The JPEG XR format replaces the HD Photo/Windows Media™ Photo format in both Windows 8 and the Windows Image Component (WIC). WIC accompanies the Internet Explorer 10 redistributable packages for down-level versions of Windows..
  5. Web site: Platform update for Windows 7 Service Pack 1 (SP1) and Windows Server 2008 R2 SP1 . 2021-06-03 . Microsoft Support . 26 February 2013.
  6. Web site: Pale Moon Release Notes . Moonchild Productions.
  7. Web site: Microsoft shows off JPEG rival. Joris. Evers. CNET.
  8. Web site: Microsoft's HD Photo Technology Is Considered for Standardization by JPEG. Microsoft Corporation. 31 July 2007. 31 July 2007. https://web.archive.org/web/20100808035511/http://www.microsoft.com/presspass/press/2007/jul07/07-31JPEGXRPR.mspx. 8 August 2010. dead.
  9. Web site: JPEG 2000 Digital Cinema Successes and Proposed Standardization of JPEG XR. Join Photographic Experts Group. 6 July 2007. 31 July 2009. dead. https://web.archive.org/web/20090317092606/http://jpeg.org/newsrel19.html. 17 March 2009.
  10. Web site: Press Release – 49th WG1 Sardinia Meeting. Joint Photographic Experts Group. Louis. Sharpe. 17 July 2009. 24 October 2009. dead. https://web.archive.org/web/20090901185852/http://www.jpeg.org/newsrel26.html. 1 September 2009.
  11. Web site: ISO/IEC 29199-2:2009 Information technology – JPEG XR image coding system – Part 2: Image coding specification. 14 August 2009. International Organization for Standardization (ISO) and International Electrotechnical Commission (IEC). 18 December 2009.
  12. Web site: ISO/IEC 29199-2:2010 Information technology – JPEG XR image coding system – Part 2: Image coding specification. 30 September 2010. International Organization for Standardization (ISO) and International Electrotechnical Commission (IEC). 18 December 2010.
  13. Web site: JPEG XR is Now an International Standard. Microsoft Corporation. Microsoft Developer Network blogs, Bill Crow's blog. Bill. Crow. 30 July 2009. 24 October 2009.
  14. Web site: Pixel Formats (Part 1: Unsigned Integers). Crow. Bill. Bill Crow's Digital Imaging & Photography Blog. Microsoft Developer Network. 1 June 2006. 26 October 2009.
  15. Web site: Windows Media Photo Specification. Microsoft. 2016-10-05.
  16. Web site: JPEG launches Innovations group, new book " JPEG 2000 Suite " published. jpeg.org. 19 March 2010. dead. https://web.archive.org/web/20100925193937/http://jpeg.org/newsrel28.html. 25 September 2010.
  17. S. Srinivasan, C. Tu, S. L. Regunathan, and G. J. Sullivan, "HD Photo: A New Image Coding Technology for Digital Photography", SPIE Applications of Digital Image Processing XXX, SPIE Proceedings, volume 6696, paper 66960A, September 2007.
  18. Web site: Analysis of BSDL-based content adaptation for JPEG 2000 and HD Photo (JPEG XR) . 8 September 2010 . 7.
  19. Web site: JPEG XR – Microsoft Research . Microsoft.
  20. Web site: Recommendation T.832 (06/2019) . p. 185 Table D.6 – Pseudocode for function FwdColorFmtConvert1.
  21. Web site: JPEG XR Device Porting Kit Specification. Microsoft. JPEGXR_DPK_Spec_1.0.doc. 2013. 2014-03-15.
  22. C. Tu, S. Srinivasan, G. J. Sullivan, S. Regunathan, and H. S. Malvar, "Low-complexity Hierarchical Lapped Transform for Lossy-to-Lossless Image Coding in JPEG XR / HD Photo", SPIE Applications of Digital Image Processing XXXI, SPIE Proceedings, volume 7073, paper 70730C, August 2008.
  23. Liang. Jie. Trac D. Tran. Fast multiplierless approximations of the DCT with the lifting scheme. IEEE Transactions on Signal Processing. 2001. 49. 12. 3032–3044. 10.1109/78.969511. 2001ITSP...49.3032L. 10.1.1.7.4480.
  24. Tran. Trac D.. Jie Liang . Chengjie Tu . Lapped transform via time-domain pre- and post-filtering. IEEE Transactions on Signal Processing. 2003. 51. 6. 1557–1571. 10.1109/TSP.2003.811222. 2003ITSP...51.1557T. 10.1.1.7.8314.
  25. Web site: FastPictureViewer Professional | Image File Formats Compatibility Chart. fastpictureviewer.com.
  26. Web site: Image Support. 2010. Microsoft Corporation. 29 May 2010. https://web.archive.org/web/20100412080956/http://ie.microsoft.com/testdrive/Graphics/48ImageSupport/Default.html. 12 April 2010. dead.
  27. Web site: Benefits of GPU-powered HTML5. 9 April 2010. Frank. Olivier. Microsoft Corporation. 29 May 2010.
  28. Web site: Expression Design Includes HD Photo Support. 27 March 2007. Bill. Crow. Microsoft Corporation. 1 June 2010.
  29. Web site: Microsoft Research Image Composite Editor. Microsoft Research. 9 March 2011.
  30. Web site: paint.net 4.2.1 is now available!. 7 August 2019. 8 August 2019.
  31. Web site: Pale Moon 27.2 released!. 18 March 2017.
  32. Web site: Formats. Pierre E. Gougelet. 10 September 2010. 4 December 2010. https://web.archive.org/web/20101204084530/http://www.xnview.com/en/formats.html. dead.
  33. Web site: Added/Changed Features to XnView. Pierre E. Gougelet. 11 May 2011.
  34. Web site: Flash Player 11 and AIR 3 Release Notes for Adobe Labs . https://web.archive.org/web/20110714222550/http://download.macromedia.com/pub/labs/flashplatformruntimes/shared/flashplayer11_air3_b1_releasenotes_071311.pdf . dead . 14 July 2011 . 12 July 2011 . 14 July 2011 .
  35. http://software.intel.com/sites/products/collateral/XE/ipp_brief.pdf Product Brief: Intel Integrated Performance Primitives 7.0
  36. http://software.intel.com/en-us/articles/jpeg-xr-codec-support-in-intel-ipp-an-introduction-features-and-advantages/ JPEG XR Codec support in Intel IPP – an Introduction, features and advantages
  37. Web site: John Carmack discusses RAGE on iPhone/iPad/iPod . Bethesda Blog . ZeniMax Media Inc . 29 October 2010 . 8 March 2011 . John . Carmack.
  38. Web site: Vista to give HD Photo format more exposure. Stephen Shankland. CNET. 23 January 2007. 9 March 2007.
  39. Web site: Microsoft Community Promise. Microsoft. 16 July 2011.
  40. Web site: JPEG XR Photoshop Plugin and Source Code. Microsoft. 11 April 2013. 6 July 2013.
  41. Web site: jxrlib JPEG-XR library. Microsoft. 1 April 2013. 16 April 2013. 16 January 2018. https://web.archive.org/web/20180116001029/http://jxrlib.codeplex.com/. dead.
  42. Web site: HD Photo Device Porting Kit 1.0. Microsoft. 21 December 2006. 9 August 2007. dead. https://web.archive.org/web/20130413165343/http://www.microsoft.com/en-us/download/details.aspx?id=5863. 13 April 2013.
  43. News: Apple wants to shrink your photos, but a new format from Google and Mozilla could go even farther. 2018-01-19. CNET. 2018-02-01. en.