Image MIME Reference
DWG
AutoCAD Drawing
image/vnd.dwg
VS
Apple PICT Image
image/x-pict
PICT
A complete technical comparison of AutoCAD Drawing and Apple PICT Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DWG | PICT |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| 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)
Apple PICT Image
image/x-pict
Extension
.pict.pct.pic
Container
QuickDraw Metafile
Compression
Uncompressed / Run-Length Encoding (RLE) / QuickTime Compressors (JPEG, SMC)
Algorithm
Apple PackBits (RLE)QuickTime Image Compression Manager (ICM)
Color Depth
1-bit, 2-bit, 4-bit, 8-bit (Indexed), 16-bit (High Color), 24-bit (True Color), 32-bit (RGBA)
Developed by
Apple Computer, Inc.
Released
1984
Magic Bytes
None (Requires offset parsing, e.g., 00 11 02 FF at byte 522)
Browser Support Comparison
| Browser | DWG | PICT |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
PICT
PICT Strengths
- Incredibly versatile for its time, allowing a single file to cleanly scale text and vector shapes while simultaneously housing raster photos
- Served as the flawless universal clipboard format for the classic Mac OS, enabling seamless copy/pasting between wildly different applications
Limitations
- Deeply tied to Apple's legacy QuickDraw graphics architecture, making it exceptionally difficult to write accurate third-party parsers on modern operating systems
- Lack of a standard magic header makes file detection unreliable without seeking 522 bytes deep into the file
- Completely unsupported in modern web environments and discontinued by Apple itself
When to choose which format
DWG
Use DWG when…
- Architectural Floor Plans
- Mechanical Engineering Models
- Civil Engineering Drafts
- 3D Product Designs
PICT
Use PICT when…
- Classic Mac OS Clipboard Data
- Legacy Macintosh Desktop Publishing (Aldus PageMaker, QuarkXPress)
- 1980s/1990s Digital Clip Art