Image MIME Reference
SGI
Silicon Graphics Image
image/sgi
VS
X Pixmap
image/x-xpixmap
XPM
A complete technical comparison of Silicon Graphics Image and X Pixmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | SGI | XPM |
|---|---|---|
| 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 |
Silicon Graphics Image
image/sgi
Extension
.sgi.rgb.rgba.bw.int.inta
Container
SGI Image Format
Compression
Uncompressed / Lossless (Run-Length Encoding)
Algorithm
RLENone
Color Depth
8-bit, 16-bit (Per Channel)
Developed by
Paul Haeberli (Silicon Graphics)
Released
1990
Magic Bytes
01 DA
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 | SGI | XPM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
SGI
SGI Strengths
- Pioneered multi-channel and 16-bit per channel imaging capabilities required for high-end 1990s visual effects
- Extremely robust and simple header structure
- Reliable Run-Length Encoding provided solid lossless compression for flat-shaded 3D renders
Limitations
- Completely obsolete for modern web and application development
- Zero native web browser compatibility
- Largely replaced by TIFF and OpenEXR in modern professional VFX and 3D pipelines
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
SGI
Use SGI when…
- Legacy 3D Animation & VFX
- Silicon Graphics IRIX Workflows
- Historical CGI Archiving
XPM
Use XPM when…
- X Window System (X11) Application Icons and Cursors
- Embedded C/C++ Firmware Color UI Assets
- Early Linux Desktop Environment Themes