Compressed DNG files have been awkward to work with for years. Some applications will not open them at all. Others open them and hand back a smudged picture, which is worse than refusing, and Apple's own raw engine is one of those.
That is why Chili RAW includes the Adobe DNG SDK. It is Adobe's own reference implementation of the DNG format, and using it was the only way I found to read these files correctly every time. The app has three raw decoders and the Adobe SDK is one of them, so every .dng goes through it unless you say otherwise. The decoder is a visible setting, like the tone mapper, which means you can put the same file through the others and see what they do with it.
It is worth explaining what these files actually are, because there are going to be a lot more of them.
A compressed DNG from DxO PureRAW sits on my disk here. It is 6000 by 4000 pixels, three colour channels, sixteen bits per channel. Written out plainly that comes to 144 million bytes, or 144 MB of pixel data. The file is 10.1 MB. Two and a half of those megabytes are a JPEG preview, so the image data itself is 7.3 MB.
It is still a raw file. The data is linear, white balance is still an open setting, the highlight headroom is there, and no tone curve has been applied. It takes an exposure push the same way the original ARW does.
That is compressed DNG. It has been in the DNG specification since 2023, DxO and Adobe both write it, and recent iPhones write it as well. A fair amount of photo software still cannot read it properly.
What it is
DNG is a container. The pixels inside it can be stored in several ways, and a tag in the file records which way was used. For a long time the practical options were uncompressed, or lossless JPEG, which is an old and fairly weak coder.
DNG 1.7, published by Adobe in 2023, added JPEG XL to that list as compression type 52546. Nothing else about the container changed. The metadata, the colour matrices, the lens opcodes and the camera profiles are all where they were. Only the packing of the pixels is different.
That explains the failure mode. An application that has read DNG files for fifteen years will open one of these, recognise every tag in it, reach the pixels, and not know the codec. It does not get a file it can see is unreadable. It gets a file it can almost read.
DxO calls their version High-Fidelity Compression, and it is built on JPEG XL.
Why JPEG XL helps
Lossless JPEG predicts each pixel from its neighbours and stores the error. That is the whole method, and it was designed for eight-bit images.
JPEG XL was designed for high bit depth, wide gamut and high dynamic range from the start. It has better context modelling, a proper modular lossless mode, and it works in tiles, so a decoder can read part of an image without decoding all of it. The DxO file here is cut into 150 tiles of 400 by 400 pixels.
Demosaicing first is what makes it small
This is the part I found interesting when I looked into it.
Adobe ships sample files with the DNG SDK. Two of them are directly comparable, because both use JPEG XL and both are 16-bit:
- 9504 by 6336, already demosaiced, three channels. Uncompressed that is about 361 MB. The file is 9 MB, so roughly 40 to 1.
- 10240 by 7168, undemosaiced Bayer data, one channel. Uncompressed about 147 MB. The file is 25 MB, so roughly 6 to 1.
Same codec, same bit depth, and a sevenfold difference in the result.
Bayer data is difficult to compress. The pixel to the left of any given pixel sits behind a different colour filter, so a predictor looking at its neighbours is not looking at neighbouring samples of the same signal. Statistically it has more in common with noise than with a photograph.
After demosaicing there are smooth gradients, real edges, and correlation between the three channels. That is the kind of data image codecs are built for, and it compresses accordingly.
So a linear DNG from DxO is not incidental. The demosaic is what makes the compression work this well.
Is it still raw
Yes. You keep linear scene data, full bit depth, white balance as an open setting, highlight headroom above white, the camera colour matrices and the lens correction opcodes. Exposure and tone latitude behave as they should, and five stops of shadow lift look like a raw file being lifted.
The file is linear, so DxO's demosaic and DeepPRIME denoising are already in it. That is the reason to run a file through DxO in the first place.
Linear and compressed are separate choices, incidentally. JPEG XL compresses undemosaiced mosaic data perfectly well, as the second sample above shows. DxO combines the two.
You may already have some
Apple ProRAW on the 48 MP main camera of the iPhone 16 Pro and 17 Pro writes JPEG XL compressed linear DNG files. Ten-bit, tiled, DNG 1.7, compression 52546. Structurally the same sort of file as the DxO one.
So this is not one setting in one desktop converter. There are a lot of these files around already.
What does not read them
darktable cannot open them in any released version. The request has been open in rawspeed, darktable's raw decoding library, as issue 516 since September 2023. An implementation was submitted as pull request 971 in June 2026 and has not been merged. That is volunteer work and I am not criticising anyone for it, but it is where things stand at the time of writing.
Apple's imaging stack is the more awkward case, because it opens the file and returns the wrong picture rather than refusing it. On the DxO file I have been measuring, both Core Image's raw pipeline and ImageIO decode it soft and smeared, with an orange cast in the skin tones. The same file opens sharp and neutral in Lightroom, and the JPEG preview DxO embedded in the file shows normal colour. The file is fine. The decode is not.
Any Mac application built on Apple's raw engine inherits that, whether its developer has noticed or not.
How Chili RAW handles them
Every .dng in Chili RAW goes to the Adobe DNG SDK 1.7.1, compiled with JPEG XL support included.
There is nothing clever about this on my part. Compressed DNG is awkward to support because implementing a raw format from its specification is a large job, and JPEG XL is a large codec on top of that. Using the reference implementation means there is no second implementation to get wrong. The files open at full resolution, with correct colour and orientation.
You can check the difference yourself. Open one of these files, switch the decoder to Apple's CIRAWFilter in Settings, and switch back. Edited thumbnails re-render each time, and the smearing and the colour cast appear and disappear.
Where this is going
File sizes are not going to fall on their own. Sensor resolution keeps rising and storage does not get cheaper at the same rate, so a format that makes a raw file a fraction of the size and keeps what you can do with it is going to get used. It is in the specification, DxO has shipped it, and Apple is writing these files from the phone camera.
The gap is on the reading side, and it will close. Until it does, whether an application opens a compressed DNG correctly is worth checking before you convert a library to it.
The download is free, and all three decoders are in the free tier.
