Image MIME Reference
DGN
MicroStation Design File
image/x-vnd.dgn
VS
Khronos Texture 2.0
image/ktx2
KTX2
A complete technical comparison of MicroStation Design File and Khronos Texture 2.0 — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DGN | KTX2 |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| 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)
Khronos Texture 2.0
image/ktx2
Extension
.ktx2
Container
KTX 2.0
Compression
Basis Universal (ETC1S / UASTC) / Zstandard (zstd) Supercompression / Uncompressed
Algorithm
ETC1SUASTCZstandard (zstd)Raw GPU Formats (ASTC, BCn)
Color Depth
8-bit, 16-bit, 32-bit (Float)
Developed by
Khronos Group
Released
2021
Magic Bytes
AB 4B 54 58 20 32 30 BB 0D 0A 1A 0A
Browser Support Comparison
| Browser | DGN | KTX2 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
KTX2
KTX2 Strengths
- Universal hardware compatibility: write once, transcode anywhere to the target GPU's preferred format (ASTC, BC7, PVRTC, etc.)
- Drastically reduces transmission size over networks thanks to Basis Universal and Zstandard supercompression
- Seamless integration with the glTF ecosystem for optimized 3D asset delivery
Limitations
- Requires WebAssembly (Wasm) decoders and JavaScript loaders for web viewing, increasing initial application payload slightly
- Encoding textures into high-quality Basis Universal UASTC can be computationally intensive and slow
- Zero support in traditional 2D image viewers or native OS previews
When to choose which format
DGN
Use DGN when…
- Civil Engineering and Plant Design
- Large-scale Architecture and Construction (AEC)
- 2D/3D Infrastructure Modeling
KTX2
Use KTX2 when…
- glTF 3D Models (KHR_texture_basisu)
- WebGPU and WebGL Applications
- Game Engines (Unity, Unreal, Godot)
- Augmented and Virtual Reality (AR/VR)