Image MIME Reference
JPEG-XS-(HEIF)
JPEG XS Image (HEIF Container)
image/jxsi
VS
PWG Raster Format
image/pwg-raster
PWG-Raster
A complete technical comparison of JPEG XS Image (HEIF Container) and PWG Raster Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | JPEG-XS-(HEIF) | PWG-Raster |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
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
PWG Raster Format
image/pwg-raster
Extension
.pwg.ras
Container
CUPS Raster v2 Container
Compression
PackBits (Run-Length Encoding)
Algorithm
PackBits (Apple RLE variant)
Color Depth
1-bit (Monochrome/K), 8-bit (Grayscale), 24-bit (sRGB / Adobe RGB), 32-bit (CMYK)
Developed by
IEEE-ISTO Printer Working Group (PWG)
Released
2011
Magic Bytes
52 61 53 32
Browser Support Comparison
| Browser | JPEG-XS-(HEIF) | PWG-Raster |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
PWG-Raster
PWG-Raster Strengths
- The undisputed global standard for modern, driverless printing environments, eliminating the nightmare of installing manufacturer-specific print drivers
- Extremely lightweight to decode on embedded hardware, requiring minimal RAM buffers on the printer side
- Strict color space and resolution rules guarantee that the printed output will successfully process without syntax errors
Limitations
- Generates massive file sizes and network payloads compared to vector-based formats like PDF or PostScript, as every page is fully rasterized at 300+ DPI before transmission
- No support for native rendering in web browsers, image viewers, or graphic design software without specialized CUPS developer tools
- Cannot store complex metadata, vector text, or layers
When to choose which format
JPEG-XS-(HEIF)
Use JPEG-XS-(HEIF) when…
- Live Broadcast Infrastructure
- Medical Imaging & Archival
- Video over IP Networks
- Automotive & Drone Systems
PWG-Raster
Use PWG-Raster when…
- Driverless Network Printing (IPP Everywhere)
- Apple AirPrint and Mopria Print Service Pipelines
- CUPS (Common UNIX Printing System) Spooling