Image MIME Reference
DGN
MicroStation Design File
image/x-vnd.dgn
VS
JPEG 2000 Image Sequence (Obsolete)
image/hsj2
HSJ2
A complete technical comparison of MicroStation Design File and JPEG 2000 Image Sequence (Obsolete) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DGN | HSJ2 |
|---|---|---|
| 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 2000 Image Sequence (Obsolete)
image/hsj2
Extension
.hsj2
Container
HEIF / ISOBMFF (ISO/IEC 15444-16 Obsolete)
Compression
Lossy / Lossless
Algorithm
Motion JPEG 2000 (ISO/IEC 15444-3)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
ISO/IEC JTC 1 / ITU-T
Released
2019
Magic Bytes
XX XX XX XX 66 74 79 70 68 73 6A 32
Browser Support Comparison
| Browser | DGN | HSJ2 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
HSJ2
HSJ2 Strengths
- Historically attempted to combine Motion JPEG 2000 sequences with the flexible metadata capabilities of the HEIF container
- Supported mathematically lossless compression and scalable wavelet decoding
Limitations
- Officially deprecated by the standardization body (ISO/IEC JTC 1)
- Completely superseded by image/hej2k, rendering hsj2 files obsolete for any new development or archiving
- Zero web browser compatibility and negligible modern software support
When to choose which format
DGN
Use DGN when…
- Civil Engineering and Plant Design
- Large-scale Architecture and Construction (AEC)
- 2D/3D Infrastructure Modeling
HSJ2
Use HSJ2 when…
- Legacy Archival
- Deprecated Workflows