Convert PFM to DPX

Turn PFM images into DPX. Values from 0 to 1 are shown as black to white without a brightness curve, and values outside that range are clipped, so depth or disparity maps need scaling first.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A DPX frame from a floating-point map.The picture keeps its width and height. Values from 0 to 1 become black to white.

  1. What you get

    One DPX file, a frame at the same size as the PFM. DPX is the frame format of film scanning and post-production, so the file is ready for film and compositing tools.

    PFM stores floating-point pixels. Values from 0 to 1 are shown as black to white, and no brightness curve is applied.

  2. What gets clipped

    Values outside the range of 0 to 1 are clipped. Anything below 0 becomes black, and anything above 1 becomes white.

    Depth and disparity maps often hold values outside that range, so scale them to fit between 0 and 1 before you convert. Otherwise the parts outside the range are lost.

  3. Going the other way

    To turn a DPX frame back into a PFM, use DPX to PFM. For other options, see every PFM conversion.

PFM and DPX.What each format is.

The formats

From · 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
To · DPX

DPX

Digital Picture Exchange, the frame format of film scanning and post-production.

Extensions
.dpx
MIME type
image/x-dpx
Kind
Images

In your code.The same PFM to DPX conversion through the API, for your app or your agent.

terminal
$ cv convert photo.pfm photo.dpx
$ cv convert photo.pfm photo.dpx

Questions.What people ask about PFM to DPX.

01OF 04

Yes. The frame has the same width and height as the PFM.

Values outside 0 to 1 are clipped, so a depth or disparity map with larger values turns white where it goes past 1. Scale the map to fit between 0 and 1 first.

No. Values from 0 to 1 are shown as black to white without a brightness curve.

Yes. Each conversion gives one file.

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