Image MIME Reference
RealPix
RealNetworks RealPix
image/vnd.rn-realpix
VS
X Pixmap
image/x-xpixmap
XPM
A complete technical comparison of RealNetworks RealPix and X Pixmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | RealPix | XPM |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | Yes | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
RealNetworks RealPix
image/vnd.rn-realpix
Extension
.rp
Container
IMFL (XML Markup)
Compression
Uncompressed (Plain Text Markup)
Algorithm
None (Plain Text)
Color Depth
Dependent on referenced images
Developed by
RealNetworks
Released
1998
Magic Bytes
3C 69 6D 66 6C
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 | RealPix | XPM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
RealPix
RealPix Strengths
- Allowed for 'Ken Burns'-style animated slideshows at a fraction of the bandwidth required for actual video, crucial for 1990s dial-up connections
- Plain text XML architecture made it easy for developers and hobbyists to hand-code complex multimedia presentations
- Perfectly synchronized with RealAudio streams using SMIL-like timing parameters
Limitations
- Completely obsolete and heavily reliant on the proprietary, defunct RealPlayer browser plugin
- Not a true image format, causing confusion when handled by standard image processing libraries which expect binary pixel data
- Lacks modern CSS or HTML5 canvas equivalents without completely rewriting the presentation logic
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
RealPix
Use RealPix when…
- Historical Dial-up Streaming Presentations
- RealPlayer Slideshows
- Bandwidth-efficient 'Video' Alternatives (late 1990s)
XPM
Use XPM when…
- X Window System (X11) Application Icons and Cursors
- Embedded C/C++ Firmware Color UI Assets
- Early Linux Desktop Environment Themes