Image MIME Reference
PBM
Portable Bitmap
image/x-portable-bitmap
VS
AutoCAD Slide
image/vnd.sld
SLD
A complete technical comparison of Portable Bitmap and AutoCAD Slide — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | PBM | SLD |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
Portable Bitmap
image/x-portable-bitmap
Extension
.pbm
Container
Netpbm
Compression
Uncompressed
Algorithm
None
Color Depth
1-bit (Monochrome)
Developed by
Jef Poskanzer (Netpbm Project)
Released
1988
Magic Bytes
50 31 (ASCII) or 50 34 (Binary)
AutoCAD Slide
image/vnd.sld
Extension
.sld
Container
AutoCAD Slide Container
Compression
Uncompressed (Vector Instructions)
Algorithm
None
Color Depth
8-bit (AutoCAD Indexed Color)
Developed by
Autodesk, Inc.
Released
1980s
Magic Bytes
41 75 74 6F 43 41 44 20 53 6C 69 64 65 0D 0A 1A 00
Browser Support Comparison
| Browser | PBM | SLD |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
PBM
PBM Strengths
- Absolute structural simplicity allows parsers to be written from scratch with just a few lines of code
- ASCII encoding allows manual editing and debugging directly within a standard text editor
- Serves as a flawless, lossless intermediary for 1-bit raster data like scanned documents or barcodes
Limitations
- Strictly limited to 1-bit monochrome images; cannot natively display shades of gray or color
- Lack of compression results in extremely large file sizes, particularly when using the ASCII 'P1' encoding
- No support for alpha transparency or modern metadata standards like EXIF
SLD
SLD Strengths
- Allowed for instantaneous loading of highly complex architectural and engineering blueprints on low-memory MS-DOS systems
- Easy-to-parse binary structure containing simple opcodes for drawing vectors and polygons
Limitations
- Completely obsolete and heavily fragmented, largely replaced by PDF and lightweight web-based DXF viewers
- Destructive 'snapshot' format irrevocably strips all useful, editable CAD geometry data from the original drawing
- Zero support in web browsers or standard image processing libraries
When to choose which format
PBM
Use PBM when…
- Optical Character Recognition (OCR) Pre-processing
- Unix/Linux Command-Line Image Pipelines
- Academic Image Processing Teaching
SLD
Use SLD when…
- Legacy AutoCAD Slideshows
- AutoCAD Custom Icon Menus
- Historical CAD Archival