Image MIME Reference
DjVu
DjVu Document
image/vnd.djvu
VS
HEVC Image Sequence (HEIF Container)
image/heic-sequence
HEIC-Sequence
A complete technical comparison of DjVu Document 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 | DjVu | HEIC-Sequence |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | Yes | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
DjVu Document
image/vnd.djvu
Extension
.djvu.djv
Container
Interchange File Format (IFF)
Compression
JB2 (Bi-tonal Text) / IW44 (Wavelet Background) / BZZ (General Data/Text)
Algorithm
JB2IW44BZZ
Color Depth
1-bit (Foreground Text), 24-bit (Background)
Developed by
AT&T Labs (Yann LeCun, Léon Bottou, Patrick Haffner, Paul G. Howard)
Released
1996
Magic Bytes
41 54 26 54 46 4F 52 4D
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 | DjVu | HEIC-Sequence |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓ 11+
|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
DjVu
DjVu Strengths
- Unmatched compression ratios for high-resolution scanned documents (often 5 to 10 times smaller than equivalent JPEG/TIFF-based PDFs)
- Separates text layers cleanly from backgrounds, allowing for highly legible text even at low file sizes
- Embedded OCR (Optical Character Recognition) text layers allow for fast searching
Limitations
- Lacks native support in modern operating systems and web browsers, requiring third-party software
- Largely superseded by PDF/A and modern PDF compression standards in standard corporate workflows
- Not suitable for vector graphics or born-digital documents (like Word exports), where standard PDF is far superior
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
DjVu
Use DjVu when…
- Scanned Books and Manuals
- Digital Libraries (e.g., Internet Archive)
- Historical Document Archiving
HEIC-Sequence
Use HEIC-Sequence when…
- Apple Live Photos
- Burst Photography
- High-Quality Animations
- Cinemagraphs