Image MIME Reference
DWG
AutoCAD Drawing
image/vnd.dwg
VS
PTI Image (Personal/Vanity Tree)
image/prs.pti
PTI
A complete technical comparison of AutoCAD Drawing and PTI Image (Personal/Vanity Tree) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DWG | PTI |
|---|---|---|
| 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)
PTI Image (Personal/Vanity Tree)
image/prs.pti
Extension
.pti
Container
Proprietary
Compression
Unknown / Proprietary
Algorithm
Unknown
Color Depth
Unknown
Developed by
Jürn Laun
Released
1999
Magic Bytes
Unknown
Browser Support Comparison
| Browser | DWG | PTI |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
PTI
PTI Strengths
- Provided a registered MIME type namespace for a specific application's proprietary image format without conflicting with standard web types
Limitations
- Completely undocumented and unsupported in modern ecosystems
- Zero web browser compatibility
- Falls into the 'vanity' tree, making it irrelevant for standard cross-platform data exchange
When to choose which format
DWG
Use DWG when…
- Architectural Floor Plans
- Mechanical Engineering Models
- Civil Engineering Drafts
- 3D Product Designs
PTI
Use PTI when…
- Legacy Application Specific Workflows
- Proprietary Image Storage