Image MIME Reference
Harlequin-PGB
Global Graphics Page Graphics Buffer
image/vnd.globalgraphics.pgb
VS
GIMP Image Format
image/x-xcf
XCF
A complete technical comparison of Global Graphics Page Graphics Buffer and GIMP Image Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Harlequin-PGB | XCF |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | Yes | Yes |
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)
GIMP Image Format
image/x-xcf
Extension
.xcf
Container
GIMP Hierarchical Chunk Container
Compression
None / RLE (Run-Length Encoding) / Zlib / Deflate (In newer GIMP versions)
Algorithm
NoneRLEZlib
Color Depth
8-bit per channel, 16-bit per channel, 32-bit floating point
Developed by
Spencer Kimball, Peter Mattis, and the GIMP Development Team
Released
1995
Magic Bytes
67 69 6D 70 20 78 63 66
Browser Support Comparison
| Browser | Harlequin-PGB | XCF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
XCF
XCF Strengths
- Preserves all non-destructive editing elements, layer hierarchies, masks, and alpha channels across GIMP sessions
- Open and thoroughly documented specification within the open-source community, allowing third-party tools like Krita and ImageMagick to read project files
- Reliable magic byte header prevents misidentification
Limitations
- Massive file sizes because raw, unflattened layer bitmaps and masks are stored directly within the project archive
- Completely proprietary to the GIMP ecosystem for deep editing; cannot be natively rendered or parsed by web browsers
- Third-party software supporting XCF may occasionally struggle to render complex text layer adjustments or advanced layer blend modes identically to GIMP
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
XCF
Use XCF when…
- GIMP Native Project Archival
- Layered Photo Editing and Graphic Design
- Intermediary Asset Preparation for Export