Free webp to jpg
Image MIME Reference
Harlequin-PGB

Global Graphics Page Graphics Buffer

image/vnd.globalgraphics.pgb
VS

JPEG 2000 Image (HEIF Container)

image/hej2k
HEJ2K

A complete technical comparison of Global Graphics Page Graphics Buffer and JPEG 2000 Image (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Harlequin-PGB HEJ2K
Transparency (Alpha) ✕ No Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No Yes
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)
Full Harlequin-PGB reference →
JPEG 2000 Image (HEIF Container)
image/hej2k
Extension
.hej2
Container HEIF / ISOBMFF (ISO/IEC 15444-16)
Compression Lossy / Lossless
Algorithm
JPEG 2000HTJ2K
Color Depth 8-bit, 10-bit, 12-bit, 16-bit
Developed by ISO/IEC JTC 1 / ITU-T
Released 2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 32 6B 69
Full HEJ2K reference →

Browser Support Comparison

Browser Harlequin-PGB HEJ2K
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
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
HEJ2K

HEJ2K Strengths

  • Brings the extensive capabilities of the HEIF container (like EXIF/XMP, thumbnails, and depth maps) to JPEG 2000
  • Supports mathematically lossless compression via wavelet transformation
  • High scalability and progressive decoding out of the box
Limitations
  • Extremely limited software support outside of niche industries
  • Zero native compatibility with web browsers
  • High computational complexity compared to simpler formats like JPEG or PNG

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
HEJ2K
Use HEJ2K when…
  • Medical Imaging
  • Geospatial Data
  • Scientific Archiving
Share this comparison