Image MIME Reference
DjVu
DjVu Document
image/vnd.djvu
VS
TIFF for Facsimile eXtended
image/tiff-fx
TIFF-FX
A complete technical comparison of DjVu Document and TIFF for Facsimile eXtended — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DjVu | TIFF-FX |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| 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
TIFF for Facsimile eXtended
image/tiff-fx
Extension
.tiff.tif
Container
TIFF 6.0 Tag Directory Structure
Compression
MH / MR / MMR (CCITT Group 3 & 4) / JBIG / JPEG
Algorithm
CCITT Group 3/4JBIGJPEG
Color Depth
1-bit (Monochrome B&W), 8-bit (Grayscale/Color Indexed), 24-bit (RGB Color)
Developed by
IETF (Internet Engineering Task Force)
Released
1998
Magic Bytes
49 49 2A 00 (Little-Endian) / 4D 4D 00 2A (Big-Endian)
Browser Support Comparison
| Browser | DjVu | TIFF-FX |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
TIFF-FX
TIFF-FX Strengths
- Provides a universal, standardized format for transmitting multi-page documents over IP networks and email (Internet Fax)
- Supports highly efficient telecom-centric compression algorithms (MMR, JBIG) that produce very small files for text documents
- Maintains backwards compatibility with standard TIFF parsers
Limitations
- Not supported natively by web browsers
- Requires complex parsing of TIFF IFD tags to differentiate a true TIFF-FX file from a standard TIFF file
- Usage is slowly declining as traditional faxing is replaced by secure PDF transmission and e-signature platforms
When to choose which format
DjVu
Use DjVu when…
- Scanned Books and Manuals
- Digital Libraries (e.g., Internet Archive)
- Historical Document Archiving
TIFF-FX
Use TIFF-FX when…
- Internet Fax (T.37)
- Enterprise Fax Servers
- Document Archiving
- Telecommunications