Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
DNG
Adobe's open raw format. The one raw container that is not tied to a single camera maker.
DNG is a container: a wrapper that holds streams encoded by something else. It stores a grid of pixels, so enlarging it past its own resolution softens it. It is used for photography, editing and archiving.
The extension is .dng, and the full name is Digital Negative. Both matter less than what the file can hold, which is what the rest of this page is about.
Adobe published it in 2004. The specification is ISO 12234-2. It comes out of Leica, Pentax, Ricoh and phone cameras, plus anything converted bodies.
Age is worth knowing here for one practical reason: the older a format is, the more programs have had time to learn it.
Anyone can implement it without asking permission or paying a licence, which is why it turns up in so many programs and why files written twenty years ago still open.
DNG stores its content exactly. Saving it again changes nothing, so it can be opened, edited and re-saved as often as you like without accumulating damage — which is what makes it a working format rather than a delivery one.
DNG has nowhere to record transparency. Anything transparent in the source is filled with a solid colour on the way in — white, unless something chooses otherwise.
Up to 16 bits per channel. It can work in RGB.
More than eight bits per channel is what stops a gradient from stepping when it is edited, which is why it matters in a working file and rarely in a finished one.
Adobe Lightroom, Adobe Camera Raw and darktable read it, and so do most programs of the same kind.
If a file will not open, the format is rarely the problem — it is more often that the program predates it. Converting to something older is the reliable way past that, and it is what the rest of this site is for.
No browser reads it.
That is the single most common reason to convert it: not that the format is bad, but that the place you want to show the file cannot read it.
DNG can hold EXIF, XMP and GPS coordinates.
The GPS coordinates are the field worth thinking about before sending a file anywhere: they say where the photograph was taken, and almost nothing warns you that they are still in there.
DNG is meant to be opened and changed. Keep the file in this format for as long as the work is going on, and export from it whenever a finished copy is needed.
The recurring complaints: programs often show an embedded preview rather than the real data.
None of these is a reason to avoid the format. They are the things worth knowing before you are surprised by one, which is a different claim and a more useful one.
| Extension | .dng |
|---|---|
| Media type | image/x-adobe-dng |
| Published by | Adobe |
| First published | 2004 |
| Specification | ISO 12234-2 |