Image MIME Reference
Generic-RAW
Digital Camera Raw (Generic Linux MIME)
image/x-dcraw
VS
HEVC Image Sequence (HEIF Container)
image/heic-sequence
HEIC-Sequence
A complete technical comparison of Digital Camera Raw (Generic Linux MIME) and HEVC Image Sequence (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
HEIC-Sequence wins on browser support
Feature Support
| Feature | Generic-RAW | HEIC-Sequence |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
Digital Camera Raw (Generic Linux MIME)
image/x-dcraw
Extension
.raw
Container
Varies (Predominantly TIFF/EP)
Compression
Lossless / Uncompressed
Algorithm
Varies (Often Lossless JPEG ITU-T81 or uncompressed)
Color Depth
12-bit, 14-bit, 16-bit
Developed by
freedesktop.org (MIME mapping) / Dave Coffin (dcraw tool)
Released
1997
Magic Bytes
Varies by vendor format
HEVC Image Sequence (HEIF Container)
image/heic-sequence
Extension
.heics.heic
Container
HEIF / ISOBMFF (ISO/IEC 14496-12)
Compression
Lossy / Lossless
Algorithm
HEVC (H.265)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
Moving Picture Experts Group (MPEG) / Apple
Released
2017
Magic Bytes
XX XX XX XX 66 74 79 70 68 65 76 63
Browser Support Comparison
| Browser | Generic-RAW | HEIC-Sequence |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓ 11+
|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Generic-RAW
Generic-RAW Strengths
- Provides a unified, highly useful catch-all MIME type for application developers who just need to know if a file is a raw image, rather than tracking 50+ individual camera extensions
- Deeply integrated into the Linux desktop ecosystem, ensuring file manager thumbnails work seamlessly via tools like ufraw-thumbnailer
Limitations
- Not an official IANA standard
- Can cause conflicts where standard TIFF files are misidentified as raw camera data by over-aggressive MIME sniffers
- The underlying 'dcraw' tool was abandoned by its creator in 2018 (though its successor, LibRaw, continues to maintain the ecosystem)
HEIC-Sequence
HEIC-Sequence Strengths
- Incredibly efficient storage for bursts and short animations compared to GIF or motion JPEG
- Supports 16-bit color, HDR, and alpha channel transparency across all frames
- Shares frame data blocks, meaning the base image and animation data are heavily optimized for space
Limitations
- Zero support in web browsers outside the Apple ecosystem (Chrome, Firefox, Edge do not support it)
- Heavily encumbered by HEVC patent pools, hindering open-source adoption
- Complex container structure makes parsing and decoding difficult without specialized libraries
When to choose which format
Generic-RAW
Use Generic-RAW when…
- Linux Desktop File Associations (GNOME/KDE)
- Thumbnail Generation for Raw Images (UFRaw/LibRaw)
- Server-side Image Processing Fallbacks
HEIC-Sequence
Use HEIC-Sequence when…
- Apple Live Photos
- Burst Photography
- High-Quality Animations
- Cinemagraphs