Image MIME Reference
DGN
MicroStation Design File
image/x-vnd.dgn
VS
JPEG XL
image/jxl
JXL
A complete technical comparison of MicroStation Design File and JPEG XL — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
JXL wins on browser support
Feature Support
| Feature | DGN | JXL |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | Yes |
| 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 XL
image/jxl
Extension
.jxl
Container
ISOBMFF / JPEG XL Codestream
Compression
Lossy (VarDCT) / Lossless (Modular)
Algorithm
VarDCT (Variable block-size DCT)Modular (Predictive coding for lossless)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit, 32-bit (Float)
Developed by
Joint Photographic Experts Group (JPEG)
Released
2021
Magic Bytes
FF 0A (Codestream) / 00 00 00 0C 4A 58 4C 20 0D 0A 87 0A (Container)
Browser Support Comparison
| Browser | DGN | JXL |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓ 17+
|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
JXL
JXL Strengths
- Capable of losslessly recompressing legacy JPEG files, saving ~20% space while retaining perfect byte-for-byte restorability
- Highly superior progressive decoding (Saliency-driven), allowing recognizable images to load extremely fast on slow connections
- Outperforms WebP and competes favorably with AVIF, especially at high-fidelity settings and for complex textures/photography
- Royalty-free with an open-source reference implementation (libjxl)
Limitations
- Google's removal of JXL support from Chrome severely hindered its adoption as a universal web standard
- Lack of hardware decoding chips compared to video-derived codecs like AVIF (AV1)
- File parsing logic is complex due to the split between raw codestreams and ISOBMFF containers
When to choose which format
DGN
Use DGN when…
- Civil Engineering and Plant Design
- Large-scale Architecture and Construction (AEC)
- 2D/3D Infrastructure Modeling
JXL
Use JXL when…
- High-End Web Delivery (via Safari/Polyfills)
- HDR Photography
- Legacy JPEG Archiving
- Digital Art & Image Storage