Image MIME Reference
DWG
AutoCAD Drawing
image/vnd.dwg
VS
Image Exchange Format
image/ief
IEF
A complete technical comparison of AutoCAD Drawing and Image Exchange Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DWG | IEF |
|---|---|---|
| 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 |
AutoCAD Drawing
image/vnd.dwg
Extension
.dwg
Container
DWG Binary Container
Compression
Proprietary Binary Compression (LZ77 based in newer versions)
Algorithm
Proprietary (Autodesk ObjectDBX)
Color Depth
Vector (True Color / Indexed AutoCAD Color Index)
Developed by
Autodesk
Released
1982
Magic Bytes
41 43 31 30 (AC10)
Image Exchange Format
image/ief
Extension
.ief
Container
TIFF Class B (TIFF-B)
Compression
Lossless (MH, MR, MMR) / Uncompressed
Algorithm
MHMRMMRUncompressed
Color Depth
1-bit (Monochrome)
Developed by
IETF Network Fax Working Group
Released
1992
Magic Bytes
49 49 2A 00 (Little-endian) / 4D 4D 00 2A (Big-endian)
Browser Support Comparison
| Browser | DWG | IEF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
DWG
DWG Strengths
- The undisputed industry standard for 2D drafting and basic 3D CAD modeling
- Highly optimized binary structure keeps file sizes relatively small compared to text-based CAD formats like DXF
- Supports incredibly complex datasets including external references (XREFs), dynamic blocks, and extensive custom metadata
Limitations
- It is a closed, proprietary format, making it difficult for third-party developers to support fully without licensing the Open Design Alliance (ODA) SDK
- Lacks native web or standard operating system previewer support
- Format versions change frequently (roughly every 3 years), breaking backward compatibility for older CAD software
IEF
IEF Strengths
- Provided a standard method for exchanging bi-level fax images during the early days of the Internet
- Supported multi-page documents
- Leveraged the highly resilient and well-documented TIFF container
Limitations
- Completely obsolete and unsupported in modern computing environments
- Strictly limited to 1-bit monochrome data, lacking color or grayscale capabilities
- Magic bytes overlap completely with standard TIFF, making specific filetype detection difficult without parsing internal tags
When to choose which format
DWG
Use DWG when…
- Architectural Floor Plans
- Mechanical Engineering Models
- Civil Engineering Drafts
- 3D Product Designs
IEF
Use IEF when…
- Legacy Fax Transmissions
- Early Internet Gateways
- Archival