Image MIME Reference
DDS
DirectDraw Surface
image/vnd.ms-dds
VS
Global Graphics Page Graphics Buffer
image/vnd.globalgraphics.pgb
Harlequin-PGB
A complete technical comparison of DirectDraw Surface and Global Graphics Page Graphics Buffer — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DDS | Harlequin-PGB |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | Yes |
DirectDraw Surface
image/vnd.ms-dds
Extension
.dds
Container
DirectDraw Surface
Compression
Block Compression (BC1-BC7) / DXTC / S3TC / Uncompressed (RGBA, Floating-Point)
Algorithm
DXT1-DXT5BC1-BC7ASTC / ETC2 (Extended)
Color Depth
8-bit, 16-bit, 24-bit, 32-bit (RGBA), 16-bit/32-bit Floating Point (HDR)
Developed by
Microsoft Corporation
Released
1999
Magic Bytes
44 44 53 20
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)
Browser Support Comparison
| Browser | DDS | Harlequin-PGB |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
DDS
DDS Strengths
- Massively reduces VRAM footprint and memory bandwidth usage because the GPU decodes the block compression in hardware
- Encapsulates complex texture arrays, volume textures, cubemaps, and entire mipmap chains within a single, highly structured file
- Supports high-dynamic-range (HDR) floating-point data for modern physically based rendering (PBR)
Limitations
- Block compression algorithms (like DXT) are lossy and can introduce ugly blocky artifacts, especially in smooth gradients or normal maps if not tuned properly
- Files are generally larger on the physical hard drive than highly compressed formats like PNG or WebP
- Zero support in web browsers or standard consumer image viewers
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
When to choose which format
DDS
Use DDS when…
- Real-Time 3D Game Textures
- DirectX and Vulkan Rendering Pipelines
- Skyboxes and Environment Cubemaps
- Volume Textures (3D Textures)
Harlequin-PGB
Use Harlequin-PGB when…
- Commercial Printing Output
- Computer-to-Plate (CTP) Manufacturing
- Prepress Soft Proofing (e.g., FirstPROOF)
- Harlequin RIP Spooling Pipelines