Image MIME Reference
CGM
Computer Graphics Metafile
image/cgm
VS
Wireless Bitmap
image/vnd.wap.wbmp
WBMP
A complete technical comparison of Computer Graphics Metafile and Wireless Bitmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | CGM | WBMP |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| 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)
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
Browser Support Comparison
| Browser | CGM | WBMP |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
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
When to choose which format
CGM
Use CGM when…
- Technical Illustrations
- Aerospace & Defense (S1000D)
- CAD/CAM
- Geophysics
WBMP
Use WBMP when…
- Legacy WML (Wireless Markup Language) Mobile Sites
- Early Mobile Phone Icons and Operator Logos
- Historical WAP Archival