Image MIME Reference
DWG
AutoCAD Drawing
image/vnd.dwg
VS
PiCture eXchange
image/x-pcx
PCX
A complete technical comparison of AutoCAD Drawing and PiCture eXchange — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DWG | PCX |
|---|---|---|
| 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)
PiCture eXchange
image/x-pcx
Extension
.pcx
Container
ZSoft Proprietary Header (128 bytes)
Compression
Run-Length Encoding (RLE)
Algorithm
ZSoft RLE
Color Depth
1-bit (Monochrome), 4-bit (16 colors), 8-bit (256 colors), 24-bit (True Color)
Developed by
ZSoft Corporation
Released
1985
Magic Bytes
0A (followed by version, e.g., 0A 05 01 08)
Browser Support Comparison
| Browser | DWG | PCX |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
PCX
PCX Strengths
- Incredibly simple RLE algorithm makes it very fast to decode, which was historically vital for early 3D video game engines
- Retains crisp, lossless pixel data suitable for pixel art and interface assets
- Well-documented and highly supported by older desktop publishing and image editing software
Limitations
- Extremely inefficient compression by modern standards, producing large file sizes compared to PNG
- Lacks modern imaging features such as alpha channel transparency, EXIF metadata, and color profiles
- Zero support in web browsers; must be converted to PNG for web use
When to choose which format
DWG
Use DWG when…
- Architectural Floor Plans
- Mechanical Engineering Models
- Civil Engineering Drafts
- 3D Product Designs
PCX
Use PCX when…
- MS-DOS and Early Windows Graphics
- 1990s Video Game Assets (Textures, UI)
- Retro Computing Archival