Free webp to jpg
Image MIME Reference
DjVu

DjVu Document

image/vnd.djvu
VS

T.38 Fax over IP (FoIP)

image/t38
T.38

A complete technical comparison of DjVu Document and T.38 Fax over IP (FoIP) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature DjVu T.38
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading Yes ✕ No
HDR Support ✕ No ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
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
Full DjVu reference →
T.38 Fax over IP (FoIP)
image/t38
Extension
.t38
Container UDPTL or TCP (Network Transport)
Compression Lossless (MH, MR, MMR / T.4, T.6)
Algorithm
MH (Modified Huffman)MR (Modified Read)MMR (Modified Modified Read)
Color Depth 1-bit (Monochrome B&W)
Developed by ITU-T (International Telecommunication Union)
Released 1998
Magic Bytes
None (Network Stream)
Full T.38 reference →

Browser Support Comparison

Browser DjVu T.38
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
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
T.38

T.38 Strengths

  • Designed specifically to overcome the timing and packet-loss issues that plague traditional fax over standard VoIP audio codecs (like G.711)
  • Reduces bandwidth requirements by transmitting fax protocol data rather than uncompressed audio tones
  • Universally supported by enterprise SIP trunks and Session Border Controllers (SBCs) for FoIP
Limitations
  • Not an actual image file format, causing confusion due to its 'image/' MIME classification
  • Extremely complex to implement correctly over lossy UDP networks (relies on UDPTL redundancy mechanisms)
  • Zero support in web browsers or standard image viewing software

When to choose which format

DjVu
Use DjVu when…
  • Scanned Books and Manuals
  • Digital Libraries (e.g., Internet Archive)
  • Historical Document Archiving
T.38
Use T.38 when…
  • Fax over IP (FoIP) Transmissions
  • SIP/SDP Media Negotiation
  • VoIP Gateways and PBX Systems
  • Enterprise Fax Servers
Share this comparison