Convert PFM to PCX

Turn PFM images into PCX. 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 PCX picture from a float image.The PFM becomes one PCX file at the same size, for old paint programs.

  1. What you get

    One PCX file with the same width and height as the PFM. PCX is the DOS-era paint format, and PFM holds floating-point pixels used for HDR and depth maps.

    Values from 0 to 1 are shown as black to white. No brightness curve is applied to them.

  2. What gets clipped

    Values outside the range of 0 to 1 are clipped. A depth or disparity map needs scaling first, so that its values fall between 0 and 1 before you convert it.

    There are no options for this conversion, so the scaling happens before the file reaches it.

  3. Going the other way

    To turn a PCX file back into a PFM, use PCX to PFM. To see what else PFM can become, look at every PFM conversion.

PFM and PCX.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 · PCX

PCX

PCX, the DOS-era paint format.

Extensions
.pcx
MIME type
image/vnd.zbrush.pcx
Kind
Images

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

terminal
$ cv convert photo.pfm photo.pcx
$ cv convert photo.pfm photo.pcx

Questions.What people ask about PFM to PCX.

01OF 04

Values outside 0 to 1 are clipped. Scale the depth or disparity values into that range first, then convert.

Yes. The PCX picture has the same width and height as the PFM.

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

No. This conversion has no options, and it produces one file.

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