Image MIME Reference
DjVu
DjVu Document
image/vnd.djvu
VS
Macromedia FreeHand Document
image/x-freehand
FreeHand
A complete technical comparison of DjVu Document and Macromedia FreeHand Document — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DjVu | FreeHand |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | Yes |
| 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
Macromedia FreeHand Document
image/x-freehand
Extension
.fh.fh4.fh5.fh7.fh8.fh9.fh10.fh11.ft11
Container
Proprietary Binary (Aldus Graphic Document)
Compression
Uncompressed / Deflate (in later versions)
Algorithm
NoneDeflate (Optional in later versions)
Color Depth
Vector Data (RGB/CMYK)
Developed by
Altsys / Aldus / Macromedia
Released
1988
Magic Bytes
41 47 44 31 to 41 47 44 34
Browser Support Comparison
| Browser | DjVu | FreeHand |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
FreeHand
FreeHand Strengths
- Historically one of the most powerful and intuitive vector editors on the market, praised for multi-page support long before Adobe Illustrator implemented it
- Files are generally compact and self-contained
Limitations
- Completely abandoned proprietary format; Adobe actively blocked native import in modern versions of Illustrator
- No support in modern web browsers; must be converted to SVG
- Versioning fragmentation means parsers must account for wildly different binary structures depending on the specific .fhX extension used
When to choose which format
DjVu
Use DjVu when…
- Scanned Books and Manuals
- Digital Libraries (e.g., Internet Archive)
- Historical Document Archiving
FreeHand
Use FreeHand when…
- Legacy Graphic Design Portfolios
- Historical Desktop Publishing Archival
- Old Corporate Logo Vectors