File Formats: XR / 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 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 multipage 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/Medical only).

For more information, please refer to https://docs.microsoft.com/en-us/windows/win32/wic/jpeg-xr-codec.

The file constants associated with this file format are:

Constant Read Support Write Support Description
Hdp 1, 8, 16, 24, 32, 48, 64 BPP 1, 8, 16, 24, 32, 48, 64 BPP HD Photo - RGB
HdpGray 16 BPP (Grayscale) 16 BPP (Grayscale) HD Photo - Grayscale
HdpCmyk 32 BPP 32 BPP HD Photo - CMYK
Jxr 1, 8, 16, 24, 32, 48, 64 BPP 1, 8, 16, 24, 32, 48, 64 BPP JPEG-XR - RGB

Platforms: .NET 4, .NET Standard, Android, iOS/macOS

JxrGray 16 BPP (Grayscale) 16 BPP (Grayscale) JPEG-XR - Grayscale

Platforms: .NET 4, .NET Standard, Android and iOS/macOS

JxrCmyk 32 BPP 32 BPP JPEG-XR - CMYK

Platforms: .NET 4, .NET Standard, Android and iOS/macOS

Jxr420 24 BPP 24 BPP JPEG-XR - YUV 4:2:0

Platforms: .NET 4, .NET Standard, Android and iOS/macOS

Jxr422 24 BPP 24 BPP JPEG-XR - YUV 4:2:2

Platforms: .NET 4, .NET Standard, Android and iOS/macOS

Jxr 24 BPP 24 BPP JPEG-XR - YUV 4:4:4

Platforms: .NET 4, .NET Standard, Android, iOS/macOS

Required DLL: Leadtools.Codecs.Hdp.dll for HD Photo or Leadtools.Codecs.Jxr.dll 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.

For loading or saving CMYK files or LAB color space files, you will also need Leadtools.ColorConversion.dll.

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

Platform Support

Extension Module Value Win32 Win64 Net32 Net64 Linux Android Apple UWP MimeType Friendly Name
Hdp WDP 318 image/vnd.ms-photo JPEG XR - Microsoft HD Photo File Format
HdpCmyk WDP 320 image/vnd.ms-photo JPEG XR - Microsoft HD Photo File Format
HdpGray WDP 319 image/vnd.ms-photo JPEG XR - Microsoft HD Photo File Format
Jxr JXR 353 image/x-jpeg-xr JPEG XR - Microsoft HD Photo File Format
Jxr420 JXR 358 image/x-jpeg-xr JPEG XR - Microsoft HD Photo File Format - YUV 4-2-0
Jxr422 JXR 357 image/x-jpeg-xr JPEG XR - Microsoft HD Photo File Format - YUV 4-2-2
JxrCmyk JXR 355 image/x-jpeg-xr JPEG XR - Microsoft HD Photo File Format - CMYK
JxrGray JXR 354 image/x-jpeg-xr JPEG XR - Microsoft HD Photo File Format - Grayscale

For a complete list for supported file formats, see Summary of All Supported File Formats.

For details of the file formats supported across products and platforms, refer to File Format Comparison Chart.

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

LEADTOOLS Imaging, Medical, and Document