Image MIME Reference
DNG
Adobe Digital Negative
image/x-adobe-dng
VS
High Efficiency Image Container
image/heic
HEIC
A complete technical comparison of Adobe Digital Negative and High Efficiency Image Container — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
HEIC wins on browser support
Feature Support
| Feature | DNG | HEIC |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
Adobe Digital Negative
image/x-adobe-dng
Extension
.dng
Container
TIFF/EP
Compression
Lossless JPEG / Deflate / Lossy JPEG (DNG 1.4+)
Algorithm
Lossless JPEG (Standard)Lossy JPEG (Compression option)Uncompressed
Color Depth
12-bit, 14-bit, 16-bit, 32-bit (Floating Point HDR)
Developed by
Adobe Systems
Released
2004
Magic Bytes
49 49 2A 00 or 4D 4D 00 2A
High Efficiency Image Container
image/heic
Extension
.heic
Container
HEIF / ISOBMFF
Compression
Lossy / Lossless
Algorithm
HEVC (H.265)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
MPEG (Standard) / Apple (Adoption)
Released
2017
Magic Bytes
XX XX XX XX 66 74 79 70 68 65 69 63
Browser Support Comparison
| Browser | DNG | HEIC |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓ 11+
|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
DNG
DNG Strengths
- Openly documented specification guarantees long-term archival accessibility, freeing photographers from proprietary manufacturer lock-in
- Lossless compression algorithms often result in files 15-20% smaller than uncompressed proprietary raw formats
- Natively supported by modern smartphone operating systems (iOS and Android) for high-end mobile photography
Limitations
- Conversion from proprietary raw to DNG takes processing time and can strip specific, proprietary manufacturer metadata (like active D-Lighting or in-camera lens corrections)
- File sizes are massive compared to standard JPEGs or HEIC files
- Cannot be rendered natively in web browsers without server-side processing or WebAssembly decoders
HEIC
HEIC Strengths
- Exceptional compression efficiency — stores images at roughly half the file size of JPEG with equal or better visual quality
- Natively supports modern photography features like depth maps, 16-bit color, HDR, and alpha channel transparency
- Can store image bursts, focal stacks, and animations (Live Photos) within a single file
Limitations
- Heavily encumbered by software patents, leading to very poor adoption outside the Apple ecosystem
- Not supported by standard web browsers (except Safari), requiring server-side or client-side conversion for web delivery
- Windows requires downloading a separate (often paid) extension from the Microsoft Store to view natively
When to choose which format
DNG
Use DNG when…
- Digital Photography Archival
- Mobile Raw Capture (iOS ProRAW / Android Camera2 API)
- Cross-Platform Raw Editing Workflows
HEIC
Use HEIC when…
- iOS / iPhone Photography
- macOS Ecosystem
- High-Quality Image Archiving