Image MIME Reference
DGN
MicroStation Design File
image/x-vnd.dgn
VS
JPEG AI Image
image/jaii
JPEG-AI
A complete technical comparison of MicroStation Design File and JPEG AI Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DGN | JPEG-AI |
|---|---|---|
| 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 AI Image
image/jaii
Extension
.jaii
Container
ISOBMFF / HEIF
Compression
Lossy (Variational Autoencoder / Neural Network)
Algorithm
Deep Neural Network (Variational Autoencoder with Hyperpriors)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit, Wide-gamut & HDR
Developed by
Joint Photographic Experts Group (ISO/IEC JTC 1 / ITU-T)
Released
2025
Magic Bytes
.. .. .. .. 66 74 79 70 6A 61 69 69 (Size + ftypjaii)
Browser Support Comparison
| Browser | DGN | JPEG-AI |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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-AI
JPEG-AI Strengths
- Provides state-of-the-art compression efficiency, dramatically outperforming traditional block-transform codecs like JPEG or HEIC [2.2.2]
- Allows machine vision models to process the raw 'latent tensors' in the compressed stream natively, drastically reducing inference latency by bypassing image reconstruction
- Supports 'multi-branch decoding', enabling a single codestream to be decoded at varying complexity levels depending on the target hardware's power (e.g., mobile NPU vs. cloud GPU)
Limitations
- Lacks native decoding support in current web browsers and legacy operating systems [3.2.1]
- Decoding relies on neural network inference which can be heavily computationally demanding on hardware lacking dedicated AI accelerators (NPUs/GPUs)
- Introduces new vectors for security and forensic analysis, as end-to-end learned structures react differently to adversarial attacks compared to traditional formats
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-AI
Use JPEG-AI when…
- Machine Vision and AI Workflows
- Cloud Storage Image Optimization
- High-Efficiency Mobile Image Capture
- Visual Surveillance