Image MIME Reference
JPEG-XR-Sequence
JPEG XR Image Sequence (HEIF Container)
image/jxrs
VS
Progressive JPEG (Legacy IE Alias)
image/pjpeg
PJPEG
A complete technical comparison of JPEG XR Image Sequence (HEIF Container) and Progressive JPEG (Legacy IE Alias) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
PJPEG wins on browser support
Feature Support
| Feature | JPEG-XR-Sequence | PJPEG |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | Yes | ✕ No |
| Progressive Loading | Yes | Yes |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
JPEG XR Image Sequence (HEIF Container)
image/jxrs
Extension
.jxrs
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 53
Progressive JPEG (Legacy IE Alias)
image/pjpeg
Extension
.jpeg.jpg.pjpeg.pjp.jfif
Container
JPEG (ISO/IEC 10918-1)
Compression
Lossy (DCT)
Algorithm
Discrete Cosine Transform (DCT)
Color Depth
8-bit, 12-bit
Developed by
Joint Photographic Experts Group / Microsoft (Alias)
Released
1992
Magic Bytes
FF D8 FF E0 (JFIF) / FF D8 FF E1 (Exif)
Browser Support Comparison
| Browser | JPEG-XR-Sequence | PJPEG |
|---|---|---|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓
|
JPEG-XR-Sequence
JPEG-XR-Sequence Strengths
- Supports 32-bit floating point HDR color depths natively across an entire animation sequence
- Combines the advanced coding efficiencies of JPEG XR with the sequence timing and metadata framework of HEIF
- Shares frame data structures allowing for optimized storage of burst photography
Limitations
- Extremely rare format with essentially no mainstream software adoption
- Zero web browser support
- Overshadowed heavily by HEVC (HEIC sequences) and AV1 (AVIF sequences) which offer superior compression and broader hardware decoding support
PJPEG
PJPEG Strengths
- Progressive JPEGs (which this MIME type attempted to describe) provide excellent perceived loading speeds on slow connections by rendering a low-resolution preview first
- Files sent with this MIME type are fully backwards compatible with any standard JPEG decoder
Limitations
- It is a non-standard MIME type that violates IANA specifications
- Causes strict file upload validation scripts to fail if not explicitly whitelisted or mapped
- Creates unnecessary confusion, as the official image/jpeg MIME type already fully encompasses progressive encoding
When to choose which format
JPEG-XR-Sequence
Use JPEG-XR-Sequence when…
- Experimental Animation Workflows
- HDR Burst Photography Archiving
- Specialized Medical & Scientific Imaging
PJPEG
Use PJPEG when…
- Legacy Internet Explorer File Uploads
- Progressive Image Rendering (Historical context)