Adobe Digital Negative
image/x-adobe-dng
Released 2004
· by Adobe Systems
The image/x-adobe-dng MIME type represents the Digital Negative (DNG) format, developed by Adobe in 2004. Built upon the ISO standard TIFF/EP framework, DNG was created as an open, universally compatible raw image format to solve the fragmentation caused by dozens of proprietary camera raw formats (like CR2, NEF, or ARW). It stores unprocessed or losslessly compressed sensor data, comprehensive XMP metadata, and often embeds a JPEG preview, ensuring long-term archival viability for digital photographers.
Technical Specifications
.dng
Lossless JPEG (Standard)Lossy JPEG (Compression option)Uncompressed
image/dngimage/x-dng
Magic Bytes & HTTP Headers
II*\x00 or MM\x00*
Browser Support Matrix
| Browser | Status | Min Version |
|---|---|---|
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | Legacy |
Advantages & Limitations
- 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
- 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
Developer Code Snippets
File Detection Steps
How to programmatically detect a image/x-adobe-dng
file by reading its raw bytes:
- 1 Check the first 4 bytes for standard TIFF little-endian (49 49 2A 00) or big-endian (4D 4D 00 2A) signatures.
- 2 Because DNG shares its header exactly with standard TIFF files, file sniffers will initially identify it as 'image/tiff'.
- 3 To definitively identify a DNG file, you must parse the TIFF Image File Directory (IFD) and check for the presence of the DNGVersion tag (Tag ID: 50706 or Hex 0xC612).
Software Support
Conversion Tools
Share & Embed
[](https://freewebptojpg.com/mime/image/dng)
<iframe src="https://freewebptojpg.com/mime/image/dng/embed" width="100%" height="280" style="border:1px solid #cbd5e1;border-radius:8px;" title="DNG Specs"></iframe>
JSON API
All data on this page is available as a free, open JSON API. Use it in your project, documentation, or tooling.
GET https://freewebptojpg.com/mime/image/dng.json
Open JSON
Frequently Asked Questions
What is a DNG file?
A Digital Negative (DNG) is a universal raw image format developed by Adobe. It stores unprocessed sensor data from digital cameras and mobile devices, allowing photographers to non-destructively adjust exposure, white balance, and shadows without quality loss.
Why convert proprietary camera raw files to DNG?
Converting proprietary raws (like Canon's CR2 or Nikon's NEF) to DNG ensures long-term archival accessibility. DNG is an openly documented standard, whereas camera manufacturers may eventually abandon support or software decoders for older proprietary formats.
Does a web browser support DNG files?
No. Web browsers cannot natively render DNG files. Raw formats require "developing" or demosaicing algorithms to convert sensor data into a viewable RGB image. For web display, DNGs must be exported to JPEG, WebP, or AVIF.