Free webp to jpg
Image MIME Reference
DGN

MicroStation Design File

image/x-vnd.dgn
VS

PWG Raster Format

image/pwg-raster
PWG-Raster

A complete technical comparison of MicroStation Design File and PWG Raster Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature DGN PWG-Raster
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
MicroStation Design File
image/x-vnd.dgn
Extension
.dgn
Container Microsoft OLE Compound File (V8) / IGDS (V7)
Compression Uncompressed / OLE Structured Storage
Algorithm
None
Color Depth Indexed Color (V7), 24-bit True Color (V8)
Developed by Intergraph (Originally) / Bentley Systems (Currently)
Released 1980
Magic Bytes
D0 CF 11 E0 A1 B1 1A E1 (For V8 DGN)
Full DGN reference →
PWG Raster Format
image/pwg-raster
Extension
.pwg.ras
Container CUPS Raster v2 Container
Compression PackBits (Run-Length Encoding)
Algorithm
PackBits (Apple RLE variant)
Color Depth 1-bit (Monochrome/K), 8-bit (Grayscale), 24-bit (sRGB / Adobe RGB), 32-bit (CMYK)
Developed by IEEE-ISTO Printer Working Group (PWG)
Released 2011
Magic Bytes
52 61 53 32
Full PWG-Raster reference →

Browser Support Comparison

Browser DGN PWG-Raster
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
DGN

DGN Strengths

  • Exceptionally robust at handling massive, coordinate-heavy infrastructure models that would frequently crash older versions of competing CAD software
  • Deeply entrenched as the absolute standard format for many global departments of transportation and civil engineering firms
  • V8 architecture supports boundless design plane coordinates, eliminating the physical scaling limitations of V7
Limitations
  • Deeply proprietary format requiring complex third-party libraries (like the ODA SDK) to parse or write programmatically outside of the Bentley ecosystem
  • V8's reliance on the archaic Microsoft OLE Compound File container makes file introspection cumbersome
  • Cannot be rendered natively in web browsers without converting to WebGL/Canvas formats or SVG
PWG-Raster

PWG-Raster Strengths

  • The undisputed global standard for modern, driverless printing environments, eliminating the nightmare of installing manufacturer-specific print drivers
  • Extremely lightweight to decode on embedded hardware, requiring minimal RAM buffers on the printer side
  • Strict color space and resolution rules guarantee that the printed output will successfully process without syntax errors
Limitations
  • Generates massive file sizes and network payloads compared to vector-based formats like PDF or PostScript, as every page is fully rasterized at 300+ DPI before transmission
  • No support for native rendering in web browsers, image viewers, or graphic design software without specialized CUPS developer tools
  • Cannot store complex metadata, vector text, or layers

When to choose which format

DGN
Use DGN when…
  • Civil Engineering and Plant Design
  • Large-scale Architecture and Construction (AEC)
  • 2D/3D Infrastructure Modeling
PWG-Raster
Use PWG-Raster when…
  • Driverless Network Printing (IPP Everywhere)
  • Apple AirPrint and Mopria Print Service Pipelines
  • CUPS (Common UNIX Printing System) Spooling
Share this comparison