Convert RAW to PNG
Turn RAW images into PNG. Developed with the camera's white balance and automatic brightness into 8-bit sRGB, turned upright.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop RAW files on the dialor turn it to pick what to do
A PNG developed from your camera RAW file.White balance and brightness are set for you, and the photo is turned upright.
What you get
One PNG file from each RAW file. The photo is developed with the camera's white balance and automatic brightness into 8-bit sRGB, and it is turned upright.
PNG is lossless, so the developed picture is stored without further loss of detail. RAW files from Canon, Nikon, Sony, Fujifilm and others work, as does DNG.
What is not applied
Lens corrections are not applied. The camera's own picture style is not applied either, so the colors may not look like the camera's preview.
Options
Set Max width or Max height to shrink a large photo while keeping its shape. A photo that is already smaller than the limit stays as it is, so nothing is enlarged.
Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Use Rotate to turn the result clockwise by 90, 180 or 270 degrees.
Turn on Strip metadata to remove the camera, the time, the GPS position and the color profile from the file. The file gets a little smaller and says less about where it came from.
Failures
A file that cannot be parsed stops with
input_corrupted. That means the file could not be read as a RAW file.
RAW and PNG.What each format is, and the options this conversion takes.
- 01 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 02 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
1 to 20000 - 03 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
1 to 20000 - 04 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270 - 05 · strip
Strip metadata
Removes EXIF and other metadata, such as the camera, the time and the GPS position a photo was taken at, and the color profile. The file gets a little smaller and says less about where it came from.
The formats
Camera RAW
Camera RAW files from Canon, Nikon, Sony, Fujifilm and others, plus DNG.
- Extensions
- .dng .cr2 .cr3 .crw .nef .nrw .arw .srf .sr2 .raf .orf .rw2 .rwl .pef .ptx .srw .mrw .3fr .dcr .kdc .erf .mef .mos .iiq .fff .k25
- MIME type
- image
/x -raw - Kind
- Images
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same RAW to PNG conversion through the API, for your app or your agent.
$ cv convert photo.dng photo.png$ cv convert photo.dng photo.pngQuestions.What people ask about RAW to PNG.
Not necessarily. The camera's own picture style is not applied, so the colors can differ from what the camera shows. White balance and automatic brightness are applied.
Yes. The picture is turned upright when it is developed. Set Rotate if you want it turned further.
Yes. Set Max width or Max height, and anything larger is shrunk with its shape kept. Smaller photos are not enlarged.
Turn on Strip metadata. It removes EXIF data, including the GPS position, and the color profile.