Image MIME Reference
HEIF
High Efficiency Image File Format
image/heif
VS
JPEG XR (HD Photo)
image/vnd.ms-photo
JPEG-XR
A complete technical comparison of High Efficiency Image File Format and JPEG XR (HD Photo) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | HEIF | JPEG-XR |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | Yes | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
High Efficiency Image File Format
image/heif
Extension
.heif.hif
Container
HEIF / ISOBMFF (ISO/IEC 14496-12)
Compression
Lossy / Lossless
Algorithm
Codec Agnostic (HEVC, AVC, JPEG, AV1)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
Moving Picture Experts Group (MPEG)
Released
2015
Magic Bytes
XX XX XX XX 66 74 79 70 6D 69 66 31
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
Browser Support Comparison
| Browser | HEIF | JPEG-XR |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
HEIF
HEIF Strengths
- Highly flexible container that can store image bursts, animations, focal stacks, and stereo 3D images in one file
- Natively supports depth maps and alpha channels, making it perfect for computational photography
- When paired with modern codecs like HEVC or AV1, it provides massive storage savings over legacy formats like JPEG
Limitations
- Codec agnosticism makes broad software decoding difficult, as the container might hold proprietary or unsupported codecs
- Zero cross-platform web browser support, requiring conversion for online publishing
- Often confused with the more specific 'image/heic' and 'image/avif' MIME types
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
When to choose which format
HEIF
Use HEIF when…
- Digital Photography
- Camera Capture
- Image Archiving
- Multi-image composites
JPEG-XR
Use JPEG-XR when…
- Legacy Windows Desktop Backgrounds
- XPS (XML Paper Specification) Documents
- Early High Dynamic Range (HDR) Photography
- DirectX Textures