This add-on adds an “Export as DNG” option under Image Editor → Image → Export as DNG.
The output image is saved as a RAW Adobe DNG file, which can be opened in derawtizers such as RawTherapee. This is especially useful for artists who want to push their photorealistic renders even further through professional RAW post-processing workflows.
It pairs nicely with the LensSim add-on.
The exported image metadata includes:
Fixed: Removed Tag.TileWidth and Tag.TileLength from the DNG metadata generation. Explicitly declaring these tags without accompanying tile offsets caused modern RAW development engines (such as RawTherapee, Darktable, and newer Adobe Camera Raw pipelines) to expect a tiled format structure, resulting in an "Unexpected End of File" crash.
Impact: The script now successfully defaults to a standard linear stripped layout, making generated DNG files fully compliant and readable across all modern raw processing software.
This extension requests the following permission:
Export DNG to disk
It’s technically possible, but not within this add-on.
Exporting a DNG is essentially just applying a mask to the rendered image to simulate a Bayer pattern. When you do this, you intentionally “lose” color information that your demosaicing software (RawTherapee, Lightroom, etc.) later reconstructs using its own algorithms.
Importing DNG files, however, is a completely different task. You would need to implement the full DNG processing pipeline, including demosaicing and other raw-data handling steps. I’m sure Python libraries exist to help with this, but integrating them into a Blender add-on is not that simple.
At the moment, I only have enough time to maintain this add-on, so developing another one with full DNG import support would be difficult for me.
So is it possible to add the feature to import DNG files?