Convert PCX to PFM

Turn PCX images into PFM. A Portable Float Map with each color as a 32-bit float, uncompressed.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Old PCX images as float pixels.Each color becomes a 32-bit float in an uncompressed PFM file.

  1. What you get

    One PFM file, a Portable Float Map. Every color value is stored as a 32-bit float, and the pixel data is not compressed.

    PFM belongs to the PNM family and is used for HDR images and depth maps.

  2. How values are stored

    The values keep the scale of the source. An 8-bit image gives values up to 255, and a 16-bit image gives values up to 65535. They are not rescaled to run from 0 to 1.

    A program that expects floats between 0 and 1 needs to divide the values itself.

  3. What it leaves behind

    Transparency is dropped. The PFM holds color only, so any transparent areas of the source carry no alpha in the result.

    To go the other way, use PFM to PCX.

PCX and PFM.What each format is.

The formats

From · PCX

PCX

PCX, the DOS-era paint format.

Extensions
.pcx
MIME type
image/vnd.zbrush.pcx
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 PCX to PFM conversion through the API, for your app or your agent.

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

Questions.What people ask about PCX to PFM.

01OF 04

No. They keep the 8- or 16-bit scale of the source, up to 255 or 65535.

No. Transparency is dropped, and only the color values are kept.

No. The pixels are stored uncompressed, each color as a 32-bit float.

Yes. Use PFM to PCX for that direction.

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