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, refer to https://learn.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.
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 Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document