Image MIME Reference
DGN
MicroStation Design File
image/x-vnd.dgn
VS
JPEG XR (HD Photo)
image/vnd.ms-photo
JPEG-XR
A complete technical comparison of MicroStation Design File and JPEG XR (HD Photo) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DGN | JPEG-XR |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
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)
JPEG XR (HD Photo)
image/vnd.ms-photo
Extension
.jxr.wdp.hdp
Container
TIFF-like Image File Directory (IFD)
Compression
Lossy (Lapped Bi-orthogonal Transform) / Lossless
Algorithm
Lapped Bi-orthogonal Transform (LBT)
Color Depth
8-bit (Grayscale, RGB, CMYK), 16-bit, 32-bit Floating Point (HDR)
Developed by
Microsoft Corporation (later Joint Photographic Experts Group)
Released
2006
Magic Bytes
49 49 BC 01
Browser Support Comparison
| Browser | DGN | JPEG-XR |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
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
JPEG-XR
JPEG-XR Strengths
- Excellent support for 16-bit and 32-bit floating-point HDR images without massive file size bloat
- Native support for alpha transparency, which standard JPEG fundamentally lacks
- Computational complexity for decoding/encoding is relatively low, making it hardware-friendly
Limitations
- Suffered a complete failure of adoption in the web browser market outside of Microsoft's ecosystem
- Fully superseded by modern, open formats like WebP, AVIF, and JPEG XL which offer better compression and universal browser support
- Multiple file extensions (.wdp, .hdp, .jxr) and MIME types cause confusion and parsing fragmentation
When to choose which format
DGN
Use DGN when…
- Civil Engineering and Plant Design
- Large-scale Architecture and Construction (AEC)
- 2D/3D Infrastructure Modeling
JPEG-XR
Use JPEG-XR when…
- Legacy Windows Desktop Backgrounds
- XPS (XML Paper Specification) Documents
- Early High Dynamic Range (HDR) Photography
- DirectX Textures