Image MIME Reference
WBMP
Wireless Bitmap
image/vnd.wap.wbmp
VS
X Pixmap
image/x-xpixmap
XPM
A complete technical comparison of Wireless Bitmap and X Pixmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | WBMP | 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 |
Wireless Bitmap
image/vnd.wap.wbmp
Extension
.wbmp
Container
WBMP Type 0
Compression
Uncompressed
Algorithm
None
Color Depth
1-bit (Monochrome)
Developed by
WAP Forum (Now Open Mobile Alliance)
Released
1999
Magic Bytes
00 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 | WBMP | XPM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
WBMP
WBMP Strengths
- Extremely low processing overhead made it perfectly suited for the ultra-low-power CPUs of late 1990s mobile devices
- Tightly integrated into the WML (Wireless Markup Language) stack, enabling the first functional mobile internet experiences
Limitations
- Completely obsolete and lacks support in modern operating systems and browsers
- Limited entirely to 1-bit black and white (0 for black, 1 for white) with zero support for grayscale, color, or transparency
- The lack of a strong file header signature makes automated MIME type detection highly unreliable
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
WBMP
Use WBMP when…
- Legacy WML (Wireless Markup Language) Mobile Sites
- Early Mobile Phone Icons and Operator Logos
- Historical WAP 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