Convert XBM to PFM
Turn XBM 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 XBM files on the dialor turn it to pick what to do
A float image from a monochrome bitmap.Each pixel becomes a 32-bit float in a single uncompressed PFM file.
What you get
One PFM file, with each color stored as a 32-bit float and no compression. The XBM is a monochrome image written as C source, and the PFM holds the same picture as floating-point pixels.
The values keep their 8- or 16-bit scale. They run up to 255 or 65535 rather than from 0 to 1. A program that expects values between 0 and 1 needs to scale them first.
What to expect
PFM is used for HDR and depth maps, but this conversion does not add range to the picture. It changes how each pixel is stored, not what the pixel shows.
The conversion has no options. You get one file for each XBM you convert.
To go the other way, use PFM to XBM.
XBM and PFM.What each format is.
The formats
X BitMap
X BitMap, monochrome images as C source.
- Extensions
- .xbm
- MIME type
- image
/x -xbitmap - 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 XBM to PFM conversion through the API, for your app or your agent.
$ cv convert photo.xbm photo.pfm$ cv convert photo.xbm photo.pfmQuestions.What people ask about XBM to PFM.
No. They keep their 8- or 16-bit scale, up to 255 or 65535. Scale them yourself if your program expects 0 to 1.
No. The file is uncompressed, with each color stored as a 32-bit float.
No. PFM is used for HDR and depth maps, but the conversion only changes how the pixels are stored.
No. This conversion has no options, and the result is one file.