Image MIME Reference
HSJ2
JPEG 2000 Image Sequence (Obsolete)
image/hsj2
VS
JPEG XR (HD Photo)
image/vnd.ms-photo
JPEG-XR
A complete technical comparison of JPEG 2000 Image Sequence (Obsolete) 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 | HSJ2 | JPEG-XR |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | Yes | ✕ No |
| Progressive Loading | Yes | Yes |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
JPEG 2000 Image Sequence (Obsolete)
image/hsj2
Extension
.hsj2
Container
HEIF / ISOBMFF (ISO/IEC 15444-16 Obsolete)
Compression
Lossy / Lossless
Algorithm
Motion JPEG 2000 (ISO/IEC 15444-3)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
ISO/IEC JTC 1 / ITU-T
Released
2019
Magic Bytes
XX XX XX XX 66 74 79 70 68 73 6A 32
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 | HSJ2 | JPEG-XR |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
HSJ2
HSJ2 Strengths
- Historically attempted to combine Motion JPEG 2000 sequences with the flexible metadata capabilities of the HEIF container
- Supported mathematically lossless compression and scalable wavelet decoding
Limitations
- Officially deprecated by the standardization body (ISO/IEC JTC 1)
- Completely superseded by image/hej2k, rendering hsj2 files obsolete for any new development or archiving
- Zero web browser compatibility and negligible modern software support
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
HSJ2
Use HSJ2 when…
- Legacy Archival
- Deprecated Workflows
JPEG-XR
Use JPEG-XR when…
- Legacy Windows Desktop Backgrounds
- XPS (XML Paper Specification) Documents
- Early High Dynamic Range (HDR) Photography
- DirectX Textures