Convert PFM to PICT
Turn PFM images into PICT. 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 classic Mac picture from a float map.A PFM becomes a PICT at the same width and height.
What you get
One PICT file, a Macintosh PICT picture at the same size as the PFM. The pixel grid does not change.
How values are shown
Values from 0 to 1 are shown as black to white. No brightness curve is applied, so the steps between dark and light follow the stored values directly.
Values outside that range are clipped. Anything below 0 comes out as black, and anything above 1 comes out as white.
Depth and disparity maps
Depth and disparity maps often hold values outside 0 to 1. Scale them into that range before you convert, or the clipped parts lose their detail.
To go the other way, use PICT to PFM.
PFM and PICT.What each format is.
The formats
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
Macintosh PICT
Classic Macintosh PICT images.
- Extensions
- .pict .pct
- MIME type
- image
/x -pict - Kind
- Images
In your code.The same PFM to PICT conversion through the API, for your app or your agent.
$ cv convert photo.pfm photo.pict$ cv convert photo.pfm photo.pictQuestions.What people ask about PFM to PICT.
Yes. The width and height stay the same.
They are clipped. Values above 1 come out as white.
No. Values from 0 to 1 are shown as black to white without a brightness curve.
Scale it into the 0 to 1 range first. Values outside that range are clipped.