Origin
Digital cameras do not start with a finished JPEG. They capture sensor measurements filtered through red, green, and blue color filters, then the camera's processor turns that data into a viewable image. RAW formats keep much of the pre-processed data so photographers can make those decisions later.
The complication is that many camera makers created their own RAW variants. Adobe introduced DNG, Digital Negative, as a documented container intended to make raw files easier to archive and exchange across software.
Technical characteristics
A RAW file is closer to a digital negative than to a final picture. It may include mosaic sensor data, black levels, white balance hints, color matrices, lens data, previews, and camera metadata. Software must demosaic and interpret the data before it becomes a normal RGB image.
This gives RAW its editing latitude. Exposure recovery, white-balance changes, highlight handling, and noise reduction can be better than editing an already compressed JPEG. But RAW files are larger, slower, and not suitable for direct browser display or casual sharing.
Where it fits
Use RAW or DNG as the master when image quality and editing flexibility matter: portraits, product photography, landscapes, studio work, archival shooting, and difficult lighting. Export JPEG, PNG, WebP, AVIF, or TIFF derivatives for delivery depending on the final use.
A practical rule: keep RAW for editing decisions, export a finished format for everyone else.
Best uses
- Professional and enthusiast photo editing
- Recovering highlights and shadows
- Long-term masters before export
Use another format when
- Immediate web publishing
- Forms and upload portals
- Sharing with people who lack raw processors