Inside a DNG
DNG is one file format with several kinds of data inside. Whether a DNG develops from the sensor depends on which kind it holds, not on the camera.
| Kind of DNG | From the sensor |
|---|---|
| Bayer sensor data, lossless JPEG | Yes |
| Bayer sensor data, uncompressed | Yes |
| Linear DNG (already demosaiced), such as Apple ProRAW | No |
| Lossy compressed DNG | No |
| Deflate or floating-point DNG, such as a merged HDR file | No |
| JPEG XL compressed DNG | No |
| A sensor that is not Bayer, such as Fujifilm X-Trans | No |
- A Bayer sensor has colour filters that repeat in a 2 × 2 square. Nearly every camera has one.
- Most DNG files written by cameras are the first kind: Leica, Pentax, Ricoh, DJI, Sigma and others. So are most files made with Adobe's DNG Converter.
- A DNG marked No opens through the picture stored inside it.