Convert HDR to PFM

Turn HDR images into PFM. A Portable Float Map with the same floating-point light as 32-bit floats, values brighter than white included, uncompressed.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop HDR files on the dialor turn it to pick what to do

Radiance HDR light, kept as floats.The brightness values carry over as 32-bit floats in a PFM file.

  1. What you get

    One PFM file with the same floating-point light as the HDR source. Each pixel is stored as 32-bit floats, and the file is uncompressed.

    Values brighter than white are kept. They are not clipped to the normal display range.

  2. What to expect

    The file is uncompressed, so it holds the pixel values as they are. PFM belongs to the PNM family and is used for HDR images and depth maps.

    To go the other way, use PFM to HDR.

HDR and PFM.What each format is.

The formats

From · HDR

Radiance HDR

Radiance HDR images with real-world brightness values.

Extensions
.hdr
MIME type
image/vnd.radiance
Kind
Images
To · PFM

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 HDR to PFM conversion through the API, for your app or your agent.

terminal
$ cv convert photo.hdr photo.pfm
$ cv convert photo.hdr photo.pfm

Questions.What people ask about HDR to PFM.

01OF 04

Yes. The output stores 32-bit floats, and values brighter than white are kept.

No. The PFM file is uncompressed.

One file.

Yes. PFM to HDR does that conversion.

More conversions.Other ways in and out of HDR and PFM.