Image MIME Reference
T.38
T.38 Fax over IP (FoIP)
image/t38
VS
Tagged Image File Format (Legacy MIME)
image/x-tiff
TIFF
A complete technical comparison of T.38 Fax over IP (FoIP) and Tagged Image File Format (Legacy MIME) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | T.38 | TIFF |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
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)
Tagged Image File Format (Legacy MIME)
image/x-tiff
Extension
.tiff.tif
Container
IFD (Image File Directory) Tag Structure
Compression
Uncompressed / LZW (Lossless) / ZIP / Deflate (Lossless) / PackBits (Lossless RLE) / JPEG (Lossy) / CCITT Group 3/4 (Fax/Document)
Algorithm
NoneLZWDeflatePackBitsJPEGCCITT
Color Depth
1-bit (Monochrome), 8-bit (Grayscale or Indexed), 16-bit (Per Channel), 32-bit (Float Per Channel)
Developed by
Aldus Corporation (Later acquired by Adobe Systems)
Released
1986
Magic Bytes
49 49 2A 00 (Little-endian) or 4D 4D 00 2A (Big-endian)
Browser Support Comparison
| Browser | T.38 | TIFF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
TIFF
TIFF Strengths
- Universally accepted as the gold standard for high-fidelity archival and professional print workflows
- Highly adaptable structure supports multiple pages (documents), layers, vast bit depths, and diverse compression algorithms within a single file
- Unmatched support for rich metadata including EXIF, IPTC, XMP, and custom ICC color profiles
Limitations
- Produces exceptionally large file sizes compared to modern web formats
- The 'x-tiff' legacy MIME string forces developers to write extra validation logic to prevent strict security filters from rejecting valid uploads
- The format's immense complexity means that many lightweight parsers only implement a subset of the specification, sometimes failing to read obscure compressions (like CCITT or old JPEG-in-TIFF)
When to choose which format
T.38
Use T.38 when…
- Fax over IP (FoIP) Transmissions
- SIP/SDP Media Negotiation
- VoIP Gateways and PBX Systems
- Enterprise Fax Servers
TIFF
Use TIFF when…
- Professional Print and Desktop Publishing
- High-Resolution Archival Scanning
- Master Copies of Digital Photography