What is a DNG file?
DNG (Digital Negative) is an open, documented RAW format published in 2004. Phones, drones, some cameras and many converters use it to store sensor data in one standard container. RawJock opens DNG files in your browser.
The DNG file in short
A DNG file is a RAW file built on TIFF. It holds the sensor data, the camera settings, the colour information needed to develop the picture (colour matrices, white balance, black and white levels) and usually a JPEG preview. Because the format is documented and describes itself, a program can develop a DNG without knowing the camera that made it. That is why a DNG often opens even when the camera is too new to be on any list. The extension is .dng whatever device wrote it.
Who writes DNG files
- Phones: iPhone ProRAW, and the Pro or RAW modes of many Android phones.
- Drones: DJI drones save their RAW photos as DNG.
- Cameras: Leica and the Sigma fp write DNG; Pentax and Ricoh cameras offer it instead of PEF.
- Software: converters turn other RAW formats into DNG, and merged HDR and panorama results are often saved as DNG.
Kinds of DNG
- Mosaic DNG: the original sensor data with one colour per pixel, like any RAW file. Most camera and drone DNGs are of this kind.
- Linear DNG: the colours have already been filled in, but the data is still linear and undeveloped, so white balance and tone remain open. iPhone ProRAW, some Android phones and merged results write linear DNGs.
- Monochrome DNG: from black-and-white sensors such as the Leica Monochrom.
How to open and view a DNG file
Open RawJock and drop the DNG in. The embedded preview appears at once and the full data replaces it a moment later; nothing is uploaded. RawJock reads mosaic, linear and monochrome DNGs, from cameras, drones and phones such as the iPhone, Pixel and Galaxy, and applies the gain maps and lens corrections stored in them. GoPro GPR files and some of the newest DNG compression modes are not decoded; RawJock then shows the embedded preview. To look through many DNGs at once, add the folder to the library: see the RAW file viewer.
Editing a DNG
A DNG is edited like any RAW: white balance, exposure and tone, colour, masks, lens corrections and detail. DNGs from small phone sensors are often noisy; RawJock's noise reduction is tuned to the noise measured in each photo, and the AI denoiser is there if you want more.
Convert DNG to JPG, and writing DNG
To convert a DNG to JPG, open it, edit if you like and press Export: JPEG, JPEG XL, 16-bit TIFF or PNG, WebP or AVIF, at full resolution, or many files at once with batch export. For a quick copy without editing, FotoJock's RAW to JPG converter saves the preview stored in the DNG. RawJock does not convert other RAW formats into DNG. It writes DNG files only for HDR merges, panoramas and focus stacks, so that the merged result stays editable like a RAW.
Questions
What is a DNG file?
A RAW image file in the open DNG (Digital Negative) format: the undeveloped sensor data plus everything needed to develop it. Phones, drones, some cameras and converters write it.
Is DNG better than JPEG?
For editing, yes: a DNG keeps the full sensor data with many more tonal steps, while a JPEG is a finished 8-bit picture. For sharing, JPEG is better, because every device shows it. See RAW vs JPEG.
Is there a free DNG viewer?
RawJock is free and opens DNG files in the browser on a computer, tablet or phone, without uploading them.
Can I open iPhone ProRAW files?
Yes. ProRAW files are linear DNGs and open like any other DNG, with the corrections stored in them. See editing RAW on a phone.