Image MIME Reference
FLIF
Free Lossless Image Format
image/flif
VS
Kodak Digital Camera Raw
image/x-kodak-dcr
Kodak-DCR
A complete technical comparison of Free Lossless Image Format and Kodak Digital Camera Raw — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | FLIF | Kodak-DCR |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | Yes | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
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
Kodak Digital Camera Raw
image/x-kodak-dcr
Extension
.dcr
Container
TIFF/EP
Compression
Uncompressed / Lossless JPEG
Algorithm
NoneLossless JPEG (ITU-T81)
Color Depth
12-bit (Per Channel)
Developed by
Eastman Kodak Company
Released
1998
Magic Bytes
49 49 2A 00 or 4D 4D 00 2A
Browser Support Comparison
| Browser | FLIF | Kodak-DCR |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
Kodak-DCR
Kodak-DCR Strengths
- Preserves the full dynamic range and uncompressed raw sensor data captured by foundational professional digital cameras
- Utilizes the standard TIFF container structure, ensuring that open-source decoders like LibRaw can easily parse and interpret the files long after official vendor support has ended
Limitations
- Completely obsolete proprietary format tied to camera hardware that is no longer manufactured
- Shares the TIFF magic header, leading to widespread misidentification by automated MIME detection libraries
- Cannot be natively viewed in web browsers or standard operating system image viewers without specialized codecs
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
Kodak-DCR
Use Kodak-DCR when…
- Vintage Professional Digital Photography (Kodak DCS series)
- Non-destructive Image Post-Processing
- Raw Imaging Archival