Free webp to jpg
Image MIME Reference
Harlequin-PGB

Global Graphics Page Graphics Buffer

image/vnd.globalgraphics.pgb
VS

Nikon Electronic Format

image/x-nikon-nef
Nikon-NEF

A complete technical comparison of Global Graphics Page Graphics Buffer and Nikon Electronic Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Harlequin-PGB Nikon-NEF
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No ✕ No
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)
Full Harlequin-PGB reference →
Nikon Electronic Format
image/x-nikon-nef
Extension
.nef
Container TIFF
Compression Uncompressed / Lossless Compressed / Lossy Compressed (High Efficiency)
Algorithm
NoneNikon Proprietary LosslessNikon High Efficiency Lossy
Color Depth 12-bit (Per Channel), 14-bit (Per Channel)
Developed by Nikon Corporation
Released 1999
Magic Bytes
49 49 2A 00 or 4D 4D 00 2A
Full Nikon-NEF reference →

Browser Support Comparison

Browser Harlequin-PGB Nikon-NEF
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
Nikon-NEF

Nikon-NEF Strengths

  • Retains maximum sensor data, allowing extreme recovery of highlights and shadows that would be permanently lost in a JPEG
  • White balance, sharpening, and color profiling are saved as metadata instructions rather than 'baked in', meaning they can be completely altered in post-production without degrading the image
  • Embeds a high-quality JPEG preview inside the raw file for rapid culling and viewing
Limitations
  • Proprietary format means it requires constant updates to raw processing engines every time Nikon releases a new camera model
  • Produces very large file sizes (often 20MB to 50MB+ per image depending on sensor resolution and bit-depth)
  • Cannot be directly embedded into web pages or used in standard HTML/CSS contexts

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
Nikon-NEF
Use Nikon-NEF when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • High Dynamic Range (HDR) Imaging Archival
Share this comparison