Image MIME Reference
RealFlash
RealNetworks RealFlash
image/vnd.rn-realflash
VS
X Pixmap
image/x-xpixmap
XPM
A complete technical comparison of RealNetworks RealFlash and X Pixmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | RealFlash | 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 RealFlash
image/vnd.rn-realflash
Extension
Container
RealMedia / SWF
Compression
Vector (Flash) / RealAudio Compression
Algorithm
Macromedia Vector CompressionDeflate (Zlib)
Color Depth
8-bit, 24-bit, 32-bit
Developed by
RealNetworks & Macromedia
Released
1997
Magic Bytes
46 57 53 (FWS - Standard Flash) or 2E 52 4D 46 (.RMF - RealMedia Container)
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 | RealFlash | XPM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
RealFlash
RealFlash Strengths
- Allowed complex, interactive vector animations to stream smoothly over 28.8k dial-up modems
- Perfectly synchronized streaming audio with timeline-based animations, which was revolutionary in 1997
Limitations
- Heavily reliant on proprietary browser plugins (RealPlayer), which were notoriously bloated
- Completely obsolete and unsupported on the modern web
- Tightly coupled server-client architecture required expensive RealServer licenses to host
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
RealFlash
Use RealFlash when…
- Historical Dial-up Web Animation
- Late-1990s Interactive Music Videos
- Streaming Vector Graphics
XPM
Use XPM when…
- X Window System (X11) Application Icons and Cursors
- Embedded C/C++ Firmware Color UI Assets
- Early Linux Desktop Environment Themes