Image MIME Reference
Harlequin-PGB
Global Graphics Page Graphics Buffer
image/vnd.globalgraphics.pgb
VS
PWG Raster Format
image/pwg-raster
PWG-Raster
A complete technical comparison of Global Graphics Page Graphics Buffer and PWG Raster Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Harlequin-PGB | PWG-Raster |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Global Graphics Page Graphics Buffer
image/vnd.globalgraphics.pgb
Extension
.pgb
Container
Proprietary Harlequin Raster Container
Compression
Uncompressed / Run-Length Encoding (RLE)
Algorithm
Proprietary RLENone
Color Depth
1-bit (Monochrome Separations), 8-bit (Grayscale), 8-bit/10-bit (Contone), CMYK / N-Color Spot Channels
Developed by
Global Graphics Software (Hybrid Software Group)
Released
1990s
Magic Bytes
Unknown (Proprietary Harlequin Header)
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
Browser Support Comparison
| Browser | Harlequin-PGB | PWG-Raster |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Harlequin-PGB
Harlequin-PGB Strengths
- Unlike generic 1-bit TIFFs, PGB files inherently encapsulate vital print-job metadata within their headers (e.g., job name, page number, separation colors, screening angles)
- Highly optimized for ultra-fast viewing and processing within professional printing workflows
Limitations
- Completely proprietary and closed-source, locking its usage strictly to Harlequin-powered RIP environments
- Zero support in standard desktop operating systems, web browsers, or consumer image editing software like Photoshop or GIMP
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
When to choose which format
Harlequin-PGB
Use Harlequin-PGB when…
- Commercial Printing Output
- Computer-to-Plate (CTP) Manufacturing
- Prepress Soft Proofing (e.g., FirstPROOF)
- Harlequin RIP Spooling Pipelines
PWG-Raster
Use PWG-Raster when…
- Driverless Network Printing (IPP Everywhere)
- Apple AirPrint and Mopria Print Service Pipelines
- CUPS (Common UNIX Printing System) Spooling