Convert RAW to PFM
Turn RAW images into PFM. The photo is developed with the camera's white balance and automatic brightness into 8-bit sRGB and 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 camera RAW photo as floating-point pixels.The photo is developed into an upright PFM with 32-bit float colors.
What you get
One PFM file. The photo is developed with the camera's white balance and automatic brightness into 8-bit sRGB, then turned upright.
The file is a Portable Float Map with each color stored as a 32-bit float, uncompressed.
How the values are scaled
The values keep their 8- or 16-bit scale, so they run up to 255 or 65535 rather than 0 to 1. A program that expects values from 0 to 1 sees numbers far above that range.
What it leaves out
Lens corrections are not applied. The camera's own picture style is not applied either, so the look is set by the automatic development and not by the style chosen on the camera.
For other targets, see every RAW conversion. For other sources, see every PFM conversion.
RAW and PFM.What each format is.
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
Portable FloatMap
Floating-point pixels in the PNM family, used for HDR and depth maps.
- Extensions
- .pfm
- MIME type
- image
/x -portable -floatmap - Kind
- Images
In your code.The same RAW to PFM conversion through the API, for your app or your agent.
$ cv convert photo.dng photo.pfm$ cv convert photo.dng photo.pfmQuestions.What people ask about RAW to PFM.
No. The photo is developed into 8-bit sRGB first, and the float values are stored from that result.
No. They keep the 8- or 16-bit scale, up to 255 or 65535.
Yes. The output is turned upright.
No. The camera's picture style and lens corrections are not applied.