Image MIME Reference
JPEG-XS-Codestream
JPEG XS Codestream
image/jxsc
VS
GIMP Image Format
image/x-xcf
XCF
A complete technical comparison of JPEG XS Codestream and GIMP Image Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | JPEG-XS-Codestream | XCF |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| 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
GIMP Image Format
image/x-xcf
Extension
.xcf
Container
GIMP Hierarchical Chunk Container
Compression
None / RLE (Run-Length Encoding) / Zlib / Deflate (In newer GIMP versions)
Algorithm
NoneRLEZlib
Color Depth
8-bit per channel, 16-bit per channel, 32-bit floating point
Developed by
Spencer Kimball, Peter Mattis, and the GIMP Development Team
Released
1995
Magic Bytes
67 69 6D 70 20 78 63 66
Browser Support Comparison
| Browser | JPEG-XS-Codestream | XCF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
XCF
XCF Strengths
- Preserves all non-destructive editing elements, layer hierarchies, masks, and alpha channels across GIMP sessions
- Open and thoroughly documented specification within the open-source community, allowing third-party tools like Krita and ImageMagick to read project files
- Reliable magic byte header prevents misidentification
Limitations
- Massive file sizes because raw, unflattened layer bitmaps and masks are stored directly within the project archive
- Completely proprietary to the GIMP ecosystem for deep editing; cannot be natively rendered or parsed by web browsers
- Third-party software supporting XCF may occasionally struggle to render complex text layer adjustments or advanced layer blend modes identically to GIMP
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
XCF
Use XCF when…
- GIMP Native Project Archival
- Layered Photo Editing and Graphic Design
- Intermediary Asset Preparation for Export