Free webp to jpg
Image MIME Reference
JPEG-XR

JPEG XR (HD Photo)

image/vnd.ms-photo
VS

Portable Network Graphics (Legacy MIME)

image/x-png
PNG

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

PNG wins on browser support

Feature Support

Feature JPEG-XR PNG
Transparency (Alpha) Yes Yes
Animation Support ✕ No ✕ No
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 →
Portable Network Graphics (Legacy MIME)
image/x-png
Extension
.png
Container PNG Chunk Structure (IHDR, IDAT, IEND)
Compression Deflate (Lossless)
Algorithm
Deflate (LZ77)
Color Depth 1-bit to 16-bit (Grayscale), 8-bit (Indexed Palette), 24-bit (True Color), 32-bit (True Color with Alpha), 48-bit (High Color), 64-bit (High Color with Alpha)
Developed by PNG Development Group
Released 1996
Magic Bytes
89 50 4E 47 0D 0A 1A 0A
Full PNG reference →

Browser Support Comparison

Browser JPEG-XR PNG
Chrome Chrome
✓ 1
Firefox Firefox
✓ 1
Safari Safari
✓ 1
Edge Edge
✓ 12
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
PNG

PNG Strengths

  • The underlying format provides flawless, lossless compression and perfect 8-bit alpha channel transparency
  • Universally supported by every modern operating system, image editor, and web browser
Limitations
  • The 'image/x-png' string is an obsolete vendor quirk that forces backend developers to write redundant normalization logic in file upload scripts
  • If left unnormalized, strict MIME validators or content security policies on modern systems may incorrectly reject valid PNG files

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
PNG
Use PNG when…
  • Legacy Internet Explorer File Uploads
  • Older ASP/PHP Web Applications
  • Lossless Web Graphics
Share this comparison