Free webp to jpg
DNG

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.

Photography & Raw Imaging Transparency ✦ HDR Production Ready

Technical Specifications

MIME Type
image/x-adobe-dng
Extensions
.dng
Container
TIFF/EP
Compression
Lossless JPEG & Deflate & Lossy JPEG (DNG 1.4+)
Algorithms
Lossless JPEG (Standard)Lossy JPEG (Compression option)Uncompressed
Color Depth
12-bit, 14-bit, 16-bit, 32-bit (Floating Point HDR)
Metadata
EXIF XMP ICC
Capabilities
Transparency
Animation
Progressive Loading
Alpha Channel
HDR Support
Official Specification
Aliases: image/dngimage/x-dng

Magic Bytes & HTTP Headers

File Signature (Magic Bytes)
49 49 2A 00 or 4D 4D 00 2A
ASCII: II*\x00 or MM\x00*
HTTP Headers
Content-Type: image/x-adobe-dng
Content-Type: image/dng
HTML Accept Attribute
accept="image/x-adobe-dng, image/dng, .dng"

Browser Support Matrix

Browser Status Min Version
Chrome Chrome
Not Supported
Firefox Firefox
Not Supported
Safari Safari
Not Supported
Edge Edge
Not Supported
Internet Explorer Internet Explorer
Not Supported Legacy

Advantages & Limitations

Advantages
  • 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

Developer Code Snippets

import magic
# Libmagic will identify DNG files as standard TIFFs due to the shared 49 49 2A 00 / 4D 4D 00 2A header
print(magic.from_file('photo.dng', mime=True)) # Outputs 'image/tiff'
const FileType = require('file-type');
const type = await FileType.fromFile('photo.dng');
console.log(type?.mime); // Usually resolves to 'image/tiff' unless the parser explicitly checks the DNGVersion IFD tag.
import (
    "bytes"
    "net/http"
)
// http.DetectContentType reads the TIFF magic bytes and returns 'image/tiff'. 
// Advanced metadata parsers are required to read the 50706 IFD tag.
$mime = mime_content_type('photo.dng');
echo $mime; // Standard PHP installations will resolve this to 'image/tiff'

File Detection Steps

How to programmatically detect a image/x-adobe-dng file by reading its raw bytes:

  1. 1 Check the first 4 bytes for standard TIFF little-endian (49 49 2A 00) or big-endian (4D 4D 00 2A) signatures.
  2. 2 Because DNG shares its header exactly with standard TIFF files, file sniffers will initially identify it as 'image/tiff'.
  3. 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

A
Adobe Lightroom / Camera Raw
C
Capture One
A
Affinity Photo
R
RawTherapee

Conversion Tools

Share & Embed

Markdown Badge
DNG Format Badge
[![DNG Format](https://freewebptojpg.com/mime/image/dng/badge.svg)](https://freewebptojpg.com/mime/image/dng)
Interactive iframe Widget
<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
Free to use
No auth required
CORS enabled
Use from any domain
Cached 24h
Cache-Control headers set

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.

Related Formats

Share this format