Image MIME Reference
DXF
Drawing Exchange Format
image/vnd.dxf
VS
T.38 Fax over IP (FoIP)
image/t38
T.38
A complete technical comparison of Drawing Exchange Format 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 | DXF | T.38 |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
Drawing Exchange Format
image/vnd.dxf
Extension
.dxf
Container
Text / Binary Container
Compression
Uncompressed (ASCII) / Uncompressed (Binary)
Algorithm
None
Color Depth
Vector (Indexed AutoCAD Colors / True Color)
Developed by
Autodesk
Released
1982
Magic Bytes
30 0D 0A 53 45 43 54 49 4F 4E (ASCII) / 41 75 74 6F 43 41 44 20 42 69 6E 61 72 79 20 44 58 46 0D 0A 1A 00 (Binary)
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)
Browser Support Comparison
| Browser | DXF | T.38 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
DXF
DXF Strengths
- Universally supported by almost every CAD program, 3D modeler, and vector graphics editor in existence
- ASCII structure is human-readable and can be parsed or generated programmatically with relative ease
- The de facto standard for sending 2D cutting paths to CNC routers, plasma cutters, and laser engravers
Limitations
- ASCII DXF files can be enormously large and inefficient compared to binary DWG files
- The format relies heavily on legacy AutoCAD data structures, making complex 3D entity parsing extremely difficult for third-party developers
- Lacks native web browser rendering capabilities
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
DXF
Use DXF when…
- Cross-Platform CAD Data Exchange
- CNC Machining and Laser Cutting Paths
- PCB Design Outlines
- Architectural 2D Layouts
T.38
Use T.38 when…
- Fax over IP (FoIP) Transmissions
- SIP/SDP Media Negotiation
- VoIP Gateways and PBX Systems
- Enterprise Fax Servers