Free webp to jpg
Image MIME Reference
JPEG-XR

JPEG XR (HD Photo)

image/vnd.ms-photo
VS

JPEG XL

image/jxl
JXL

A complete technical comparison of JPEG XR (HD Photo) and JPEG XL — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

JXL wins on browser support

Feature Support

Feature JPEG-XR JXL
Transparency (Alpha) Yes Yes
Animation Support ✕ No Yes
Progressive Loading Yes Yes
HDR Support Yes Yes
EXIF Metadata Yes Yes
ICC Color Profile Yes Yes
JPEG XR (HD Photo)
image/vnd.ms-photo
Extension
.jxr.wdp.hdp
Container TIFF-like Image File Directory (IFD)
Compression Lossy (Lapped Bi-orthogonal Transform) / Lossless
Algorithm
Lapped Bi-orthogonal Transform (LBT)
Color Depth 8-bit (Grayscale, RGB, CMYK), 16-bit, 32-bit Floating Point (HDR)
Developed by Microsoft Corporation (later Joint Photographic Experts Group)
Released 2006
Magic Bytes
49 49 BC 01
Full JPEG-XR reference →
JPEG XL
image/jxl
Extension
.jxl
Container ISOBMFF / JPEG XL Codestream
Compression Lossy (VarDCT) / Lossless (Modular)
Algorithm
VarDCT (Variable block-size DCT)Modular (Predictive coding for lossless)
Color Depth 8-bit, 10-bit, 12-bit, 16-bit, 32-bit (Float)
Developed by Joint Photographic Experts Group (JPEG)
Released 2021
Magic Bytes
FF 0A (Codestream) / 00 00 00 0C 4A 58 4C 20 0D 0A 87 0A (Container)
Full JXL reference →

Browser Support Comparison

Browser JPEG-XR JXL
Chrome Chrome
Firefox Firefox
Safari Safari
✓ 17+
Edge Edge
IE IE (Legacy)
JPEG-XR

JPEG-XR Strengths

  • Excellent support for 16-bit and 32-bit floating-point HDR images without massive file size bloat
  • Native support for alpha transparency, which standard JPEG fundamentally lacks
  • Computational complexity for decoding/encoding is relatively low, making it hardware-friendly
Limitations
  • Suffered a complete failure of adoption in the web browser market outside of Microsoft's ecosystem
  • Fully superseded by modern, open formats like WebP, AVIF, and JPEG XL which offer better compression and universal browser support
  • Multiple file extensions (.wdp, .hdp, .jxr) and MIME types cause confusion and parsing fragmentation
JXL

JXL Strengths

  • Capable of losslessly recompressing legacy JPEG files, saving ~20% space while retaining perfect byte-for-byte restorability
  • Highly superior progressive decoding (Saliency-driven), allowing recognizable images to load extremely fast on slow connections
  • Outperforms WebP and competes favorably with AVIF, especially at high-fidelity settings and for complex textures/photography
  • Royalty-free with an open-source reference implementation (libjxl)
Limitations
  • Google's removal of JXL support from Chrome severely hindered its adoption as a universal web standard
  • Lack of hardware decoding chips compared to video-derived codecs like AVIF (AV1)
  • File parsing logic is complex due to the split between raw codestreams and ISOBMFF containers

When to choose which format

JPEG-XR
Use JPEG-XR when…
  • Legacy Windows Desktop Backgrounds
  • XPS (XML Paper Specification) Documents
  • Early High Dynamic Range (HDR) Photography
  • DirectX Textures
JXL
Use JXL when…
  • High-End Web Delivery (via Safari/Polyfills)
  • HDR Photography
  • Legacy JPEG Archiving
  • Digital Art & Image Storage
Share this comparison