JPEG XR (JXR) / Microsoft HD Photo File Format ( HDP)

JPEG XR is the name selected by the JPEG committee for standardization of the HD Photo file format.  HD Photo can be considered to be an implementation of the JPEG XR specification. The HD Photo file format is a raster file format developed by Microsoft and it is supported by the Microsoft Photo Info application. This file format is mainly used for cross-platform image exchange, especially with handhelds, PDAs and limited-capability devices. The support for JPEG XR available in Windows Imaging Component, .NET Framework (3.0 or later), Windows Vista or later, Internet Explorer, and a number of other products, LEADTOOLS supports both formats.

LEADTOOLS supports version 1.0 of this format.

This file format supports QFactor. Possible values can be a value between 2 and 255 (lossy compression), or value 0 (lossless compression).

This file format supports loading and saving JPEG XR lossy and lossless compressions.

The file format does not support multi-page files.

The default extension for JPEG-XR format is: JXR.

The default extension for HDP format is: HDP.

You can read and write 16-bit grayscale. (Document and Medical Imaging toolkits)

For more information, please refer to

The file constants associated with this file format are:


Read Support

Write Support



1,8,16,24, 32, 48, 64 BPP

1,8,16,24, 32, 48, 64 BPP

[318] HD Photo RGB.


16 BPP

16 BPP

[319] HD Photo Grayscale.


32 BPP

32 BPP

[320] HD Photo CMYK.


1,8,16,24, 32, 48, 64 BPP

1,8,16,24, 32, 48, 64 BPP

[353] JPEG- XR RGB.


16 BPP

16 BPP

[354] JPEG- XR Grayscale.


32 BPP

32 BPP

[355] JPEG- XR CMYK.


24 BPP

24 BPP

[357] JPEG-XR YUV 4:2:2


24 BPP

24 BPP

[358] JPEG-XR YUV 4:2:0

Required DLL: LFHDP for HD Photo or LFJXR for JPEG-XR . For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Related Formats: JPG - JPEG Compressed, JP2, J2K - JPEG 2000 Compressed, TIFF / BigTIFF - Tagged Image File Format.

For loading or saving CMYK color space files, you will also need LTCLR.


Win32, x64.

Help Version 20.0.2019.12.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help