Image MIME Reference
PWG-Raster
PWG Raster Format
image/pwg-raster
VS
Wireless Bitmap
image/vnd.wap.wbmp
WBMP
A complete technical comparison of PWG Raster Format and Wireless Bitmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | PWG-Raster | WBMP |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
PWG Raster Format
image/pwg-raster
Extension
.pwg.ras
Container
CUPS Raster v2 Container
Compression
PackBits (Run-Length Encoding)
Algorithm
PackBits (Apple RLE variant)
Color Depth
1-bit (Monochrome/K), 8-bit (Grayscale), 24-bit (sRGB / Adobe RGB), 32-bit (CMYK)
Developed by
IEEE-ISTO Printer Working Group (PWG)
Released
2011
Magic Bytes
52 61 53 32
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 | PWG-Raster | WBMP |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
PWG-Raster
PWG-Raster Strengths
- The undisputed global standard for modern, driverless printing environments, eliminating the nightmare of installing manufacturer-specific print drivers
- Extremely lightweight to decode on embedded hardware, requiring minimal RAM buffers on the printer side
- Strict color space and resolution rules guarantee that the printed output will successfully process without syntax errors
Limitations
- Generates massive file sizes and network payloads compared to vector-based formats like PDF or PostScript, as every page is fully rasterized at 300+ DPI before transmission
- No support for native rendering in web browsers, image viewers, or graphic design software without specialized CUPS developer tools
- Cannot store complex metadata, vector text, or layers
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
PWG-Raster
Use PWG-Raster when…
- Driverless Network Printing (IPP Everywhere)
- Apple AirPrint and Mopria Print Service Pipelines
- CUPS (Common UNIX Printing System) Spooling
WBMP
Use WBMP when…
- Legacy WML (Wireless Markup Language) Mobile Sites
- Early Mobile Phone Icons and Operator Logos
- Historical WAP Archival