Skip to content

Valiice/DngToPng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNG to PNG

A tiny Windows app that turns phone DNG photos into normal PNGs that look the way your phone showed them.

Drag your DNGs onto the window, click Convert, get PNGs back.

Why this exists

You shot a photo on your phone in RAW. You convert it online. It comes out dark, flat, weirdly colored.

That's because the picture you remember seeing in your gallery isn't what's actually in the raw sensor data — it's the result of a lot of work your phone did the moment you took the shot: stacking multiple exposures, denoising, sharpening, picking colors. The raw file is the unprocessed sensor capture, and on a phone it usually looks much worse than the photo you remember.

This tool just pulls out the version of the picture your phone already made — every phone DNG has it tucked inside — and saves it as PNG. No darkening, no weird colors, no setup.

How to use it

  1. Download dng2png-vX.Y.Z.zip from the Releases page and unzip it.
  2. Double-click dng2png.exe.
  3. First time only — Windows may say "Windows protected your PC." That's normal for any program that isn't signed by a big company. Click More info → Run anyway. You only see it once.
  4. Drag your .dng files onto the window. Click Convert.

PNGs are saved next to the original DNGs by default. Use the Choose... button to send them somewhere else instead.

What you get

  • Drag-and-drop window, handles batches
  • Phone-photo orientation is preserved (no sideways or mirrored output)
  • The UI stays responsive while it works through the queue
  • One portable .exe, around 8 MB — no installer, no extra runtime
  • If a file fails, the queue keeps going and you get a Copy error button so you can share the exact reason

What this isn't

  • Not a raw photo developer like Lightroom or Camera Raw
  • Not a non-Windows app (the binary targets Windows 10+)
  • Not signed (that's why the SmartScreen warning shows up on first run)

Building from source

You'll need Rust 1.92 or newer.

cargo build --release

The binary lands in target/release/dng2png.exe.

If you want to hack on it, CLAUDE.md has notes on how the project is laid out and why a few of the more surprising decisions were made the way they were.

License

MIT.

About

Tiny Windows GUI for converting phone DNG photos to PNG without the dark/flat look.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages