Image MIME Reference
JPEG-XS
JPEG XS Image
image/jxs
VS
Portable Network Graphics (Legacy MIME)
image/x-png
PNG
A complete technical comparison of JPEG XS Image and Portable Network Graphics (Legacy MIME) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
PNG wins on browser support
Feature Support
| Feature | JPEG-XS | PNG |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | Yes | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
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)
Portable Network Graphics (Legacy MIME)
image/x-png
Extension
.png
Container
PNG Chunk Structure (IHDR, IDAT, IEND)
Compression
Deflate (Lossless)
Algorithm
Deflate (LZ77)
Color Depth
1-bit to 16-bit (Grayscale), 8-bit (Indexed Palette), 24-bit (True Color), 32-bit (True Color with Alpha), 48-bit (High Color), 64-bit (High Color with Alpha)
Developed by
PNG Development Group
Released
1996
Magic Bytes
89 50 4E 47 0D 0A 1A 0A
Browser Support Comparison
| Browser | JPEG-XS | PNG |
|---|---|---|
|
|
✕ |
✓ 1
|
|
|
✕ |
✓ 1
|
|
|
✕ |
✓ 1
|
|
|
✕ |
✓ 12
|
|
|
✕ |
✓
|
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
PNG
PNG Strengths
- The underlying format provides flawless, lossless compression and perfect 8-bit alpha channel transparency
- Universally supported by every modern operating system, image editor, and web browser
Limitations
- The 'image/x-png' string is an obsolete vendor quirk that forces backend developers to write redundant normalization logic in file upload scripts
- If left unnormalized, strict MIME validators or content security policies on modern systems may incorrectly reject valid PNG files
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
PNG
Use PNG when…
- Legacy Internet Explorer File Uploads
- Older ASP/PHP Web Applications
- Lossless Web Graphics