Glossary · RAW / DNG photo
What is a RAW or DNG photo? Unprocessed sensor data
Short answer
A RAW photo holds near-unprocessed data from the camera sensor, before sharpening, noise reduction and compression. On Android phones RAW files are saved as DNG, Adobe's open Digital Negative format. They give editors far more room to fix exposure and colour, but a single DNG is often 20 to 80 MB, several times a JPEG.
Last updated
How does RAW capture work on a phone?
Android added RAW capture to its Camera2 interface in Android 5.0, and phones that support it can write DNG files. Samsung's Pro mode and Expert RAW app, and Pixel's camera settings, offer RAW, usually saving a JPEG and a DNG side by side for each shot. That pairing is the key storage fact: every RAW photo is really two files.
DNG stores sensor values plus metadata describing the lens and colour, so editors such as Lightroom or Snapseed can process it later.
Some phones go further with computational RAW. Samsung's Expert RAW and Google's RAW output merge several frames before writing the DNG, so the file is cleaner than a single sensor read but still unprocessed for colour and tone. These files can be larger than standard DNGs.
RAW, JPEG and HEIC compared
| Format | Processing | Typical size | Best for |
|---|---|---|---|
| RAW (DNG) | Minimal, done later | 20 to 80 MB | Editing, difficult light |
| JPEG | Done in the phone | 2 to 5 MB at 12 MP | Sharing, everyday shots |
| HEIC | Done in the phone | Smaller than JPEG | Saving space |
Phone JPEGs benefit from multi-frame processing that a single RAW frame may not include, so the JPEG often looks better straight out of the camera. Formats are compared in more depth on the JPEG and HEIC pages.
DNG is lossless or lightly compressed, so the file keeps every value the sensor recorded. That is what allows a two-stop exposure fix that would band or posterise in a JPEG.
Should you keep RAW files?
- Delete the DNG once you have edited and exported a shot, or decided not to edit it.
- Keep the DNG for photos you may print large or re-edit later, ideally on a computer or cloud folder.
- Turn RAW off for daily use. It is easy to forget it is enabled and fill storage in weeks.
For a wider plan, see phone storage full: what to do.
A quick audit: in a file manager, search the camera folder for .dng and sort by size. If you find hundreds of files you never edited, moving them to a computer or deleting them often frees more space than any other single step.
Backing up DNG files to a computer before deleting them is cheap insurance, because no app can rebuild the RAW data from the JPEG twin later.
Frequently asked questions
Can I open DNG files on Android?
Google Photos and many editors open DNG. Some galleries show only a preview.
Do DNG files count against Google storage?
Yes. Backed-up RAW files count toward your Google Account storage like other originals.
Is a DNG better than a JPEG for sharing?
No. Most people and websites cannot open DNG, and the files are large. Export a JPEG from your edit and share that.
Sources
- Android Developers: Supported media formats (checked 31 October 2026)
- Google One Help: How storage works in your Google Account (checked 31 October 2026)
Related
More in Photo cleanup terms
GalleryJury is coming soon to Android
It keeps the best shot from every burst and clears the clutter around it. 50 free photos to try, then $5 for 5,000 photos or $15 for 20,000. Pay once, nothing renews. No subscription.