Free webp to jpg
Image MIME Reference
DXF

Drawing Exchange Format

image/vnd.dxf
VS

Global Graphics Page Graphics Buffer

image/vnd.globalgraphics.pgb
Harlequin-PGB

A complete technical comparison of Drawing Exchange Format 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 DXF Harlequin-PGB
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No Yes
Drawing Exchange Format
image/vnd.dxf
Extension
.dxf
Container Text / Binary Container
Compression Uncompressed (ASCII) / Uncompressed (Binary)
Algorithm
None
Color Depth Vector (Indexed AutoCAD Colors / True Color)
Developed by Autodesk
Released 1982
Magic Bytes
30 0D 0A 53 45 43 54 49 4F 4E (ASCII) / 41 75 74 6F 43 41 44 20 42 69 6E 61 72 79 20 44 58 46 0D 0A 1A 00 (Binary)
Full DXF 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 DXF Harlequin-PGB
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
DXF

DXF Strengths

  • Universally supported by almost every CAD program, 3D modeler, and vector graphics editor in existence
  • ASCII structure is human-readable and can be parsed or generated programmatically with relative ease
  • The de facto standard for sending 2D cutting paths to CNC routers, plasma cutters, and laser engravers
Limitations
  • ASCII DXF files can be enormously large and inefficient compared to binary DWG files
  • The format relies heavily on legacy AutoCAD data structures, making complex 3D entity parsing extremely difficult for third-party developers
  • Lacks native web browser rendering capabilities
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

DXF
Use DXF when…
  • Cross-Platform CAD Data Exchange
  • CNC Machining and Laser Cutting Paths
  • PCB Design Outlines
  • Architectural 2D Layouts
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