Image MIME Reference
DWG
AutoCAD Drawing
image/vnd.dwg
VS
PCO B16 Image
image/vnd.pco.b16
PCO-B16
A complete technical comparison of AutoCAD Drawing and PCO B16 Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DWG | PCO-B16 |
|---|---|---|
| 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)
PCO B16 Image
image/vnd.pco.b16
Extension
.b16
Container
PCO B16 Binary Container
Compression
Uncompressed (Raw Sensor Data)
Algorithm
None
Color Depth
16-bit (Monochrome or Bayer Raw Color)
Developed by
PCO AG (Excelitas PCO GmbH)
Released
Early 2000s
Magic Bytes
50 43 4F 2D
Browser Support Comparison
| Browser | DWG | PCO-B16 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
PCO-B16
PCO-B16 Strengths
- Preserves exact, uncompressed 16-bit raw sensor data, which is critically important for accurate scientific measurements, fluorescence microscopy, and photometry
- The simple, linear struct header is highly predictable and easy to parse in custom Python, MATLAB, or C++ scripts for researchers building bespoke pipelines
Limitations
- Generates massive file sizes due to the complete lack of image compression [1.3.1]
- Completely unsupported by standard operating systems, web browsers, and consumer image editing suites
- Strictly tied to the hardware and software ecosystems of a single camera manufacturer
When to choose which format
DWG
Use DWG when…
- Architectural Floor Plans
- Mechanical Engineering Models
- Civil Engineering Drafts
- 3D Product Designs
PCO-B16
Use PCO-B16 when…
- Microscopy and Life Sciences
- High-Speed Camera Recording
- Machine Vision and Industrial Inspection
- Scientific Photometry