Image MIME Reference
JPEG-XS
JPEG XS Image
image/jxs
VS
X Bitmap (Legacy MIME Alias)
image/x-xbm
XBM
A complete technical comparison of JPEG XS Image and X Bitmap (Legacy MIME Alias) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | JPEG-XS | XBM |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | Yes | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
JPEG XS Image
image/jxs
Extension
.jxs
Container
ISOBMFF (ISO/IEC 21122-3) or Raw Codestream
Compression
Lossy (Visually Lossless) / Mathematically Lossless
Algorithm
JPEG XS (Low-complexity wavelet transform)
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 (Codestream) / XX XX XX XX 66 74 79 70 6A 78 73 20 (ISOBMFF)
X Bitmap (Legacy MIME Alias)
image/x-xbm
Extension
.xbm
Container
C Source Code Header (.h)
Compression
Uncompressed (Source Code)
Algorithm
None
Color Depth
1-bit (Monochrome)
Developed by
MIT / X Consortium (X Window System)
Released
1988
Magic Bytes
23 64 65 66 69 6e 65 (ASCII '#define')
Browser Support Comparison
| Browser | JPEG-XS | XBM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
JPEG-XS
JPEG-XS Strengths
- Provides sub-millisecond encoding/decoding latency, essential for live production and gaming
- Extremely lightweight, requiring very little CPU, GPU, or FPGA memory to process
- Replaces uncompressed video links (like SDI or HDMI) over standard Ethernet networks with visually lossless quality
Limitations
- Compression ratios are typically much lower (between 2:1 and 10:1) compared to heavy codecs like HEVC or AV1
- Zero support in web browsers or standard consumer devices
- Primarily licensed to hardware manufacturers and professional software ecosystems
XBM
XBM Strengths
- Can be compiled directly into C or C++ source code without needing an external file loader or binary asset manager
- Human-readable structure allows developers to inspect, edit, or hand-craft tiny icons directly within a text editor
- Extremely predictable and lightweight for 1-bit hardware displays and embedded systems
Limitations
- Strictly limited to 1-bit monochrome (black and white) graphics with no gray or color support
- Text-based C syntax creates massive file bloat compared to binary 1-bit formats like PBM
- Completely deprecated in modern web browsers and desktop GUI frameworks
When to choose which format
JPEG-XS
Use JPEG-XS when…
- Live Video Broadcasting (SMPTE ST 2110)
- Video over IP Networks
- Virtual Reality / Augmented Reality (VR/AR)
- Automotive & Drone Cameras
XBM
Use XBM when…
- X Window System (X11) Cursors and Icons
- Embedded C/C++ Firmware UI Assets
- Early 1990s Unix Web Graphics