Image MIME Reference
JPEG-XR-(HEIF)
JPEG XR Image (HEIF Container)
image/jxra
VS
JPEG XL
image/jxl
JXL
A complete technical comparison of JPEG XR Image (HEIF Container) 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-(HEIF) | 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 Image (HEIF Container)
image/jxra
Extension
.jxra
Container
HEIF / ISOBMFF (ISO/IEC 23008-12 / Annex F of ITU-T T.832)
Compression
Lossy / Lossless
Algorithm
JPEG XR (Lapped Biorthogonal Transform)
Color Depth
8-bit, 16-bit, 32-bit (Float)
Developed by
ISO/IEC JTC 1 / ITU-T
Released
2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 78 72 41
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)
Browser Support Comparison
| Browser | JPEG-XR-(HEIF) | JXL |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓ 17+
|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
JPEG-XR-(HEIF)
JPEG-XR-(HEIF) Strengths
- Combines the deep color (32-bit float) and mathematically lossless compression of JPEG XR with the robust metadata architecture of HEIF
- Allows grouping multiple images, exposure brackets, or focal stacks into a single file collection
Limitations
- Practically non-existent software and operating system support compared to standard HEIC or legacy JPEG XR (.jxr)
- Zero web browser support, rendering it entirely unsuitable for public web deployment
- Eclipsed by modern standards like AVIF and JPEG XL which offer superior compression with much broader industry backing
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-(HEIF)
Use JPEG-XR-(HEIF) when…
- Specialized Archival
- Experimental Imaging Workflows
- High Dynamic Range (HDR) Imaging
JXL
Use JXL when…
- High-End Web Delivery (via Safari/Polyfills)
- HDR Photography
- Legacy JPEG Archiving
- Digital Art & Image Storage