Image MIME Reference
CGM
Computer Graphics Metafile
image/cgm
VS
RealNetworks RealFlash
image/vnd.rn-realflash
RealFlash
A complete technical comparison of Computer Graphics Metafile and RealNetworks RealFlash — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | CGM | RealFlash |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | Yes |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Computer Graphics Metafile
image/cgm
Extension
.cgm
Container
CGM
Compression
Uncompressed / Binary / Character / Clear Text
Algorithm
Deflate (in some WebCGM profiles)
Color Depth
8-bit, 16-bit, 24-bit, 32-bit
Developed by
ISO / IEC
Released
1987
Magic Bytes
00 20 (Binary) / 42 45 47 49 4E 20 4D 45 54 41 46 49 4C 45 (Clear Text)
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)
Browser Support Comparison
| Browser | CGM | RealFlash |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
CGM
CGM Strengths
- Strictly standardized by ISO, ensuring long-term archiving and cross-platform compatibility in engineering
- Excellent support for rich metadata, hyperlinks, and technical hotspots via the WebCGM profile
- Can store complex 2D geometry, rasters, and text in a single lightweight file
Limitations
- Multiple encoding schemes (Binary, Character, Clear Text) make parser development difficult
- Zero native support in modern web browsers without third-party plugins
- Largely replaced by SVG for general-purpose 2D vector graphics on the web
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
When to choose which format
CGM
Use CGM when…
- Technical Illustrations
- Aerospace & Defense (S1000D)
- CAD/CAM
- Geophysics
RealFlash
Use RealFlash when…
- Historical Dial-up Web Animation
- Late-1990s Interactive Music Videos
- Streaming Vector Graphics