Image MIME Reference
FLIF
Free Lossless Image Format
image/flif
VS
JPEG XS Codestream
image/jxsc
JPEG-XS-Codestream
A complete technical comparison of Free Lossless Image Format and JPEG XS Codestream — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | FLIF | JPEG-XS-Codestream |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | Yes | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Free Lossless Image Format
image/flif
Extension
.flif
Container
FLIF Bitstream
Compression
Lossless (MANIAC Entropy Coding)
Algorithm
MANIAC (Meta-Adaptive Near-zero Integer Arithmetic Coding)
Color Depth
1-bit to 16-bit (Per Channel), Grayscale, RGB, RGBA, CMYK
Developed by
Jon Sneyers and Pieter Wuille (Cloudinary)
Released
2015
Magic Bytes
46 4C 49 46
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
Browser Support Comparison
| Browser | FLIF | JPEG-XS-Codestream |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
FLIF
FLIF Strengths
- Achieves some of the highest lossless compression ratios ever developed for raster images
- Incredible progressive decoding allows an image to be highly recognizable even after only 5% of the file has been downloaded
- Supports animations and complex alpha channels losslessly
Limitations
- Officially abandoned in favor of JPEG XL
- Zero native support in web browsers or standard operating system previewers
- Encoding speed can be significantly slower than standard PNG or WebP compression
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
When to choose which format
FLIF
Use FLIF when…
- Archival of Uncompressed Image Assets
- Bandwidth-Constrained Progressive Image Loading (Historical)
- Medical and Scientific Imaging Storage
JPEG-XS-Codestream
Use JPEG-XS-Codestream when…
- Hardware Decoding Pipelines (FPGA/ASIC)
- Live Broadcast Infrastructure
- Video over IP Transport
- Embedded Camera Systems