JPEG XR

From Wikipedia, the free encyclopedia
Jump to: navigation, search
JPEG XR
Filename extension .hdp[1], .jxr[2], .wdp[1]
Internet media type image/vnd.ms-photo
Developed by Microsoft, ITU-T, ISO/IEC
Initial release 14 April 2009
Latest release 12/2009 (ITU-T); 2010 edition (ISO/IEC) / 30 September 2010; 5 months ago (2010-09-30)
Type of format Graphics file format
Standard(s) ITU-T Rec. T.832 (12/2009),
ISO/IEC 29199-2:2010
Website ITU-T T.832 (12/2009),
ISO/IEC 29199-2: 2010

JPEG XR (formerly Windows Media Photo and HD Photo)[3] is a still-image compression standard and file format for continuous tone photographic images, based on technology originally developed and patented by Microsoft as a part of the Windows Media family. 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 Windows Imaging Component, .NET Framework (3.0 or newer), Windows Vista/Windows 7, Internet Explorer 9, and a number of other products.

Contents

[edit] History

Microsoft first announced Windows Media Photo at WinHEC 2006[4], 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.[5][6] 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.[2] 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.[7][8] The ITU-T updated its publication with a corrigendum approved in December 2009[2], and ISO/IEC issued a new edition with similar corrections on September 30, 2010.[9]

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.

[edit] Description

[edit] Capabilities

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

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 and High Dynamic Range (HDR) imaging:
In image and graphics representations, the color associated with each point in the picture (called a pixel) is represented as a set of numbers. Each color can be expressed as a combination of numbers that each represent the intensity of one of the components of a color (known as the channel) which consists of Red, Green and Blue (the three colors of light) color primary. Such a color scheme is called the RGB color model. Using an alternative set of color primaries, graphic files may treat the color of each point as a combination of Cyan, Magenta, Yellow, and Black (the four ink colors of printers) and therefore store the color of each point in four channels. Such a color scheme is called the CMYK color model. When the image being stored contains only black, white and shades of gray as colors, the image may be represented using a single grayscale channel for each pixel that only represents the intensity of the gray shade.
JPEG supports 24-Bit RGB (also known as truecolor): This representation stores each channel as an 8-bit number, an integer number between 0 to 255. In this case, the greater the number, the more intense the color component is. For instance, 25 in red channel represents dark red while 255 indicates fully-vibrant red. This enables more than 16 million color possibilities. JPEG also supports 8-bit grayscale scheme, so that each pixel can have one of 256 possible shades of gray.
JPEG XR adds supports for 48-bit integer RGB (also known as Deep Color): This representation stores the values of each of the three channels as a 16-bit number, an integer number between 0 to 65,535, where 0 denotes least intensity and 65535 the greatest. Therefore, each channel stores a much finer grade of intensity.
JPEG XR also supports 16-bit per component (64 bit per pixel) integer CMYK color model.[11]
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 also 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 in JPEG XR.
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 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.

[edit] 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. An 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.

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

[edit] Compression algorithm

Comparison between JPEG 2000, JPEG XR, and JPEG.

HD Photo's design[2][13] 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 \frac{V}{2} \right\rceil
Y = G - \left\lceil \frac{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".

[edit] 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 support JPEG XR :

Product Name Publisher Read support Write support
Microsoft Expression Design[14] Microsoft Yes Yes
Microsoft Expression Media Microsoft Yes No
Internet Explorer 9[15][16] Microsoft Yes N/A
Konvertor[17] Logipole Softwares Yes No
XnView[18] Pierre-emmanuel Gougelet Yes No
Windows Live Photo Gallery Microsoft Yes Yes
Windows Photo Gallery Microsoft Yes Yes
Windows Photo Viewer Microsoft Yes N/A
Fast Picture Viewer[19] Axel Richter Software Developments Yes N/A
Xara Xtreme Pro 4[20] Xara Group Limited Yes No
Zoner Photo Studio Zoner Software Yes Yes
Microsoft Image Composite Editor[21] Microsoft Yes Yes

The following APIs support JPEG XR and may be used in other software to provide JPEG XR support to end user:

Product Name Publisher Read support Write support
Windows Imaging Component (WIC) Microsoft Yes Yes

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

Product name Publisher Plug-in name Plug-in publisher Read support Write support
Adobe Photoshop CS2 Adobe Systems HD Photo Plug-ins for Photoshop[22] Microsoft Corporation Yes Yes
Paint.NET 3.20 Rick Brewster HD Photo plugin - BETA[23] Rick Brewster Yes Yes
IrfanView 4.25 Irfan Skiljan HDP version 4.26[24] Irfan Skiljan Yes No

The 2007 video game, Rage, employs JPEG XR compression to compress its textures.[25]

[edit] Licensing

Microsoft has patents on the technology in HD Photo. 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,[26] 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.[27]

In addition to the HD Photo specification itself, Microsoft released the "HD Photo Device Porting Kit" in 2006 which provided source code and build configuration files for multiple platforms. While the license for this code was designed to encourage broad adoption in products, the license terms prohibited including any of Device Porting Kit's code in products or systems that use strong copyleft licensing.[28] As a consequence, any implementation that would be suitable for inclusion in a software package distributed under some software licenses, such as the GNU General Public License, would need to be based on the image coding specification document or other software.

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

[edit] See also

[edit] References

  1. ^ a b "Microsoft HD Photo Device Porting Kit Specification". Microsoft Corporation. 7 November 2006. http://www.microsoft.com/downloads/details.aspx?FamilyID=285eeffd-d86c-48c3-ab93-3abd5ee7f1ce&displaylang=en. Retrieved 8 November 2009. 
  2. ^ a b c d "Recommendation T.832 (03/2009, updated 12/2009): Information technology - JPEG XR image coding system - Part 2: Image coding specification". International Telecommunication Union - Standardization sector (ITU-T). December 2009. http://www.itu.ch/rec/T-REC-T.832. Retrieved 18 December 2009. 
  3. ^ Bill, Crow (1 November 2006). "Introducing HD Photo". Microsoft Developer Network blogs, Bill Crow's blog. Microsoft Corporation. http://blogs.msdn.com/billcrow/archive/2006/11/17/introducing-hd-photo.aspx. Retrieved 24 October 2009. 
  4. ^ Microsoft shows off JPEG rival
  5. ^ "Microsoft’s HD Photo Technology Is Considered for Standardization by JPEG". Microsoft Corporation. 31 July 2007. http://www.microsoft.com/presspass/press/2007/jul07/07-31JPEGXRPR.mspx. Retrieved 31 July 2007. 
  6. ^ "JPEG 2000 Digital Cinema Successes and Proposed Standardization of JPEG XR". Join Photographic Experts Group. 6 July 2007. http://www.jpeg.org/newsrel19.html. Retrieved 31 July 2009. 
  7. ^ a b Sharpe, Louis (17 July 2009). "Press Release – 49th WG1 Sardinia Meeting". Joint Photographic Experts Group. http://jpeg.org/newsrel26.html. Retrieved 24 October 2009. 
  8. ^ "ISO/IEC 29199-2:2009 Information technology - JPEG XR image coding system - Part 2: Image coding specification". International Organization for Standardization (ISO) and International Electrotechnical Commission (IEC). 14 August 2009. http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51609. Retrieved 18 December 2009. 
  9. ^ "ISO/IEC 29199-2:2010 Information technology - JPEG XR image coding system - Part 2: Image coding specification". International Organization for Standardization (ISO) and International Electrotechnical Commission (IEC). 30 September 2010. http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=56465. Retrieved 18 December 2010. 
  10. ^ Bill, Crow (30 July 2009). "JPEG XR is Now an International Standard". Microsoft Developer Network blogs, Bill Crow's blog. Microsoft Corporation. http://blogs.msdn.com/billcrow/archive/2007/03.aspx. Retrieved 24 October 2009. 
  11. ^ Crow, Bill (1 June 2006). "Pixel Formats (Part 1: Unsigned Integers)". Bill Crow's Digital Imaging & Photography Blog. Microsoft Developer Network. http://blogs.msdn.com/billcrow/archive/2006/06/19/636858.aspx. Retrieved 26 October 2009. 
  12. ^ "JPEG launches Innovations group, new book « JPEG 2000 Suite » published". jpeg.org. 19 March 2010. http://www.jpeg.org/newsrel28.html. 
  13. ^ 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, Sept. 2007.
  14. ^ Crow, Bill (27 March 2007). "Expression Design Includes HD Photo Support". Microsoft Corporation. http://blogs.msdn.com/b/billcrow/archive/2007/03/26/expression-design-includes-hd-photo-support.aspx. Retrieved 1 June 2010. 
  15. ^ "Image Support". Microsoft Corporation. 2010. http://ie.microsoft.com/testdrive/Graphics/48ImageSupport/Default.html. Retrieved 29 May 2010. 
  16. ^ Olivier, Frank (9 April 2010). "Benefits of GPU-powered HTML5". Microsoft Corporation. http://blogs.msdn.com/b/ie/archive/2010/04/09/benefits-of-gpu-powered-html5.aspx. Retrieved 29 May 2010. 
  17. ^ Piquemal, Jean. "Formats". http://www.konvertor.net/formats_g_us.htm. Retrieved 19 November 2010. 
  18. ^ Gougelet, Pierre E. "Formats". http://www.xnview.com/en/formats.html. Retrieved 10 September 2010. 
  19. ^ "FastPictureViewer's format compatibility chart". http://www.fastpictureviewer.com/formats. 
  20. ^ "Advanced Features: HD Photo import". Xara Group. http://www.xara.com/products/designer/features/feature?id=87. Retrieved 10 September 2010. 
  21. ^ "Microsoft Research Image Composite Editor". Microsoft Research. http://research.microsoft.com/en-us/um/redmond/groups/ivm/ICE/. Retrieved 09 March 2011. 
  22. ^ "HD Photo Plug-ins for Photoshop are Released". Bill Crow's Digital Imaging & Photography Blog. MSDN Blogs. 6 December 2007. http://blogs.msdn.com/b/billcrow/archive/2007/12/06/hd-photo-plug-ins-for-photoshop-are-released.aspx. Retrieved 6 December 2007. 
  23. ^ Paint.NET HD Photo plugin
  24. ^ http://www.irfanview.com/plugins.htm
  25. ^ Carmack, John (29 October 2010). "John Carmack discusses RAGE on iPhone/iPad/iPod". Bethesda Blog. ZeniMax Media Inc. http://bethblog.com/index.php/2010/10/29/john-carmack-discusses-rage-on-iphoneipadipod-touch/#more-11506. Retrieved 8 March 2011. 
  26. ^ Stephen Shankland (23 January 2007). "Vista to give HD Photo format more exposure". CNet. http://news.com.com/2100-1045_3-6153730.html. Retrieved 9 March 2007. 
  27. ^ a b "Microsoft Community Promise". 15 August 2010. http://www.microsoft.com/interop/cp/default.mspx. Retrieved 15 August 2010. 
  28. ^ "HD Photo Device Porting Kit 1.0". Microsoft. 21 December 2006. http://microsoft.com/downloads/details.aspx?FamilyID=285eeffd-d86c-48c3-ab93-3abd5ee7f1ce&displaylang=en. Retrieved 9 August 2007. 

[edit] External links

Links to standardization publication pages
Links to information from Microsoft
Links to information from others
Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages