Introduction: The Challenge of the DNG Format

The Digital Negative (DNG) format has become the standard for archiving RAW images while ensuring universal compatibility. Adobe, a pioneer of this standard, offers a proprietary converter that transforms camera raw files into compressed DNGs.

This converter remains a black box: its source code is not released, and anyone without the software cannot see how metadata is handled or how compression is applied. That opacity motivated some developers to attempt reproducing the algorithm using machine‑learning models.

The Technical Challenge: Recreating a Proprietary Algorithm

The goal was simple yet ambitious: create an open‑source version of the DNG converter that passes Adobe’s official validator and, ideally, outperforms it. To do so, the team leveraged GLM‑5.3‑Flash, a multimodal language model with 320 billion parameters.

After just two hours of work, the model produced a Python prototype capable of converting Canon ARW (RAW) files into DNGs. The resulting file sizes were already smaller than those produced by Adobe, triggering the next phase: reimplementation in Rust.

The Rust Reimplementation: Speed and Reliability

Moving to Rust yielded a lighter, more secure executable. Within four hours, the source comprised 13 files, 2 900 lines of code, a batch command‑line interface, automated output verification, and even a drag‑and‑drop GUI.

Every generated DNG file was validated by Adobe’s checker: it passed all tests, decoded into pixel‑identical images to the original ARW sources, and was 0.95 % smaller than the proprietary converter. These results confirmed the precision of the reproduced algorithm.

Performance Comparison: Speed, Size, and Compatibility

In terms of speed, the Rust converter averages 1.8× faster than the original software on identical hardware. The additional compression reduces the disk space required for photographic archives.

Adherence to the DNG specification guarantees that files remain compatible with all professional photo applications, while source‑code transparency allows developers to customize or extend the converter to meet their specific needs.

Impact on the Photographic and Open‑Source Communities

This project demonstrates that an LLM can be used to reverse‑engineer proprietary software, paving the way for greater freedom in digital data processing. Independent photographers now have a free, modifiable alternative.

Industry Reactions

Adobe expressed interest but has not announced an official update in response to this initiative. Other sector players, such as Capture One or DxO, have already begun exploring similar solutions.

Conclusion: Toward a More Open Future for the DNG Format

The open‑source LLM initiative to replicate and improve Adobe’s DNG converter shows that collaboration between AI and community can produce powerful, transparent, and performant tools. By adopting these solutions, photographers gain autonomy while preserving archive quality.

“True innovation happens when code is freed and everyone is allowed to contribute.” – Anonymous citation

Original source
Xda-developers
I gave my local LLM Adobe's closed-source converter, and it rebuilt the entire format from the bytes up
https://www.xda-developers.com/gave-local-llm-adobe-closed-source-converter-rebuilt-format-bytes-up/ →