Image MIME Reference
JPEG-XS-Codestream
JPEG XS Codestream
image/jxsc
VS
JPEG 2000 Compound Image File Format
image/jpm
JPM
A complete technical comparison of JPEG XS Codestream and JPEG 2000 Compound Image File Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | JPEG-XS-Codestream | JPM |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
JPEG XS Codestream
image/jxsc
Extension
.jxsc.jxs
Container
None (Raw Codestream)
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) / intoPIX
Released
2019
Magic Bytes
FF 10
JPEG 2000 Compound Image File Format
image/jpm
Extension
.jpm.jpgm
Container
ISOBMFF / JPM (ISO/IEC 15444-6)
Compression
Lossy / Lossless / Mixed Raster Content (MRC)
Algorithm
JPEG 2000JBIG2JPEGMMR
Color Depth
1-bit (Text/Masks), 8-bit, 16-bit, 24-bit
Developed by
Joint Photographic Experts Group (JPEG)
Released
2003
Magic Bytes
00 00 00 0C 6A 50 20 20 0D 0A 87 0A ... 66 74 79 70 6A 70 6D 20
Browser Support Comparison
| Browser | JPEG-XS-Codestream | JPM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
JPEG-XS-Codestream
JPEG-XS-Codestream Strengths
- Eliminates container overhead, maximizing parsing speed and minimizing latency to fractions of a millisecond
- Highly optimized for direct hardware implementation in FPGAs and ASICs
- Perfect for continuous data streaming over IP networks without needing to establish file headers
Limitations
- Lacks standard container metadata (EXIF, XMP, ICC profiles), meaning color space and orientation data must be handled externally or out-of-band
- Zero support in web browsers or standard consumer operating systems
- Often requires specialized broadcast hardware or custom software libraries to decode
JPM
JPM Strengths
- Highly optimized for scanned documents, drastically reducing file sizes without sacrificing the readability of text or the quality of embedded photos
- Supports multi-page documents within a single file
- Object-based architecture allows for complex layout representation and independent extraction of elements
Limitations
- Failed to achieve widespread adoption, largely being overshadowed by PDF/A and DjVu
- Zero native web browser compatibility
- Requires complex, specialized software to properly encode and decode the multi-layered MRC structure
When to choose which format
JPEG-XS-Codestream
Use JPEG-XS-Codestream when…
- Hardware Decoding Pipelines (FPGA/ASIC)
- Live Broadcast Infrastructure
- Video over IP Transport
- Embedded Camera Systems
JPM
Use JPM when…
- Scanned Document Archiving
- Mixed Raster Content (MRC) Imaging
- Digital Libraries