Image MIME Reference
SLD
AutoCAD Slide
image/vnd.sld
VS
X Pixmap
image/x-xpixmap
XPM
A complete technical comparison of AutoCAD Slide and X Pixmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | SLD | XPM |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
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
X Pixmap
image/x-xpixmap
Extension
.xpm
Container
C Source Code Header (.c / .h)
Compression
Uncompressed (Source Code)
Algorithm
None
Color Depth
Indexed Color (Custom Palette with RGB and Alpha 'None')
Developed by
Daniel Dardailler and Colas Nahaboo (Bull / X Consortium)
Released
1989
Magic Bytes
2F 2A 20 58 50 4D 20 2A 2F (ASCII '/* XPM */')
Browser Support Comparison
| Browser | SLD | XPM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
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
XPM
XPM Strengths
- Can be compiled directly into C or C++ source code without requiring an external asset loading mechanism
- Human-readable palette mapping allows developers to inspect, modify, or hand-craft icons directly within a text editor
- Native support for color palettes and transparency via the 'None' keyword
Limitations
- Extremely inefficient storage structure for large images, resulting in massive file bloat compared to binary formats like PNG
- Completely obsolete and unsupported in modern web browsers
- Parsing overhead requires compiling or interpreting text-based color tables at runtime
When to choose which format
SLD
Use SLD when…
- Legacy AutoCAD Slideshows
- AutoCAD Custom Icon Menus
- Historical CAD Archival
XPM
Use XPM when…
- X Window System (X11) Application Icons and Cursors
- Embedded C/C++ Firmware Color UI Assets
- Early Linux Desktop Environment Themes