Image MIME Reference
HTJ2K-(JPH)
High-Throughput JPEG 2000 Image
image/jph
VS
JPEG XS Image (HEIF Container)
image/jxsi
JPEG-XS-(HEIF)
A complete technical comparison of High-Throughput JPEG 2000 Image and JPEG XS Image (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | HTJ2K-(JPH) | JPEG-XS-(HEIF) |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
High-Throughput JPEG 2000 Image
image/jph
Extension
.jph
Container
JPH (ISO/IEC 15444-15)
Compression
Lossy / Lossless
Algorithm
High-Throughput JPEG 2000 (HTJ2K)
Color Depth
8-bit, 16-bit, 32-bit, 38-bit
Developed by
Joint Photographic Experts Group (JPEG)
Released
2019
Magic Bytes
00 00 00 0C 6A 50 20 20 0D 0A 87 0A ... 66 74 79 70 6A 70 68 20
JPEG XS Image (HEIF Container)
image/jxsi
Extension
.jxsi.jxs.hif
Container
HEIF / ISOBMFF (ISO/IEC 23008-12)
Compression
Lossy (Visually Lossless) / Mathematically Lossless
Algorithm
JPEG XS (ISO/IEC 21122-1)
Color Depth
8-bit, 10-bit, 12-bit, 14-bit, 16-bit
Developed by
Joint Photographic Experts Group (JPEG)
Released
2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 78 73 69
Browser Support Comparison
| Browser | HTJ2K-(JPH) | JPEG-XS-(HEIF) |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
HTJ2K-(JPH)
HTJ2K-(JPH) Strengths
- Delivers orders of magnitude faster encoding and decoding than standard JPEG 2000 by utilizing a new, parallelizable block coder
- Supports mathematically lossless and lossy compression within the same codestream architecture
- Allows for resolution scalability, progressive decoding, and region-of-interest extraction without needing to decode the entire image
Limitations
- Zero native web browser support, requiring specialized libraries, API conversions, or WebAssembly (like OpenJPH.js) for web deployment
- Lack of broad consumer awareness, keeping it confined to professional, medical, and scientific workflows
- Requires more advanced software ecosystems to decode than ubiquitous formats like JPEG or WebP
JPEG-XS-(HEIF)
JPEG-XS-(HEIF) Strengths
- Provides sub-millisecond encoding and decoding latency while retaining visually lossless quality
- Brings the extensive metadata, EXIF, XMP, and color-profiling capabilities of the HEIF container to JPEG XS
- Allows grouping of multiple high-quality JPEG XS frames into a single collection file
Limitations
- Zero web browser compatibility, limiting it entirely to professional and industrial hardware workflows
- Extremely niche adoption compared to standard HEVC-based HEIC or raw JPEG XS codestreams
- Requires custom parsing logic to extract the JPEG XS codestream from the HEIF boxes
When to choose which format
HTJ2K-(JPH)
Use HTJ2K-(JPH) when…
- Medical Imaging (DICOM)
- Geospatial Data
- Digital Cinema
- Professional Archiving
JPEG-XS-(HEIF)
Use JPEG-XS-(HEIF) when…
- Live Broadcast Infrastructure
- Medical Imaging & Archival
- Video over IP Networks
- Automotive & Drone Systems