Convert XPM to PFM
Turn XPM 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 XPM files on the dialor turn it to pick what to do
Float pixels from an XPM image.Each color becomes a 32-bit float in an uncompressed PFM file.
What you get
One PFM file. Each color is stored as a 32-bit float, and the file is uncompressed.
The values keep the 8- or 16-bit scale of the source, so they run up to 255 or 65535. They are not rescaled to the range 0 to 1.
What it leaves behind
Transparency is dropped. The PFM holds only the color values.
XPM and PFM.What each format is.
The formats
X PixMap
X PixMap, images as C source.
- Extensions
- .xpm
- MIME type
- image
/x -xpixmap - 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 XPM to PFM conversion through the API, for your app or your agent.
$ cv convert photo.xpm photo.pfm$ cv convert photo.xpm photo.pfmQuestions.What people ask about XPM to PFM.
Portable FloatMap is a format in the PNM family that stores floating-point pixels. It is used for HDR and depth maps.
No. They keep the 8- or 16-bit scale, up to 255 or 65535.
No. Transparency is dropped in this conversion.
No. The file is uncompressed, with each color stored as a 32-bit float.