Free webp to jpg
Image MIME Reference
Fuji-RAF

Fujifilm RAW Image

image/x-fuji-raf
VS

Global Graphics Page Graphics Buffer

image/vnd.globalgraphics.pgb
Harlequin-PGB

A complete technical comparison of Fujifilm RAW Image 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 Fuji-RAF Harlequin-PGB
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes ✕ No
EXIF Metadata Yes ✕ No
ICC Color Profile Yes Yes
Fujifilm RAW Image
image/x-fuji-raf
Extension
.raf
Container Proprietary RAF Container
Compression Uncompressed / Lossless Compressed / Lossy Compressed (Modern firmware)
Algorithm
NoneProprietary LosslessProprietary Lossy
Color Depth 14-bit (Per Channel - X-Series), 16-bit (Per Channel - GFX Series)
Developed by Fujifilm Corporation
Released 2000
Magic Bytes
46 55 4A 49 46 49 4C 4D 43 43 44 2D 52 41 57 20
Full Fuji-RAF reference →
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 →

Browser Support Comparison

Browser Fuji-RAF Harlequin-PGB
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
Fuji-RAF

Fuji-RAF Strengths

  • Retains absolute maximum sensor data, enabling massive shadow recovery and highlight protection compared to compressed in-camera JPEGs
  • Stores proprietary Fujifilm Film Simulation metadata (like Classic Chrome or Acros), allowing editors to perfectly replicate in-camera aesthetics
  • Very distinct and reliable magic header makes programmatic file detection foolproof
Limitations
  • Proprietary format requires continuous updates to third-party software (like Lightroom) whenever Fujifilm releases a new camera
  • The X-Trans sensor matrix requires highly specialized demosaicing algorithms that are extremely computationally expensive, leading to slower import and rendering times
  • Completely unsupported in standard web browsers and basic operating system 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

Fuji-RAF
Use Fuji-RAF when…
  • Professional Digital Photography
  • Fujifilm X-Trans Sensor Image Archival
  • High Dynamic Range (HDR) Post-Processing
Harlequin-PGB
Use Harlequin-PGB when…
  • Commercial Printing Output
  • Computer-to-Plate (CTP) Manufacturing
  • Prepress Soft Proofing (e.g., FirstPROOF)
  • Harlequin RIP Spooling Pipelines
Share this comparison