Convert CALS to PFM
Turn CALS 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 CALS files on the dialor turn it to pick what to do
A CALS scan as floating-point pixels.You get one PFM file with each color stored as a 32-bit float, uncompressed.
What you get
A Portable FloatMap, the PNM-family format used for HDR and depth maps. The conversion gives you one file.
Each color is a 32-bit float, and the file is uncompressed.
How the values are scaled
The values keep their 8- or 16-bit scale, so they run up to 255 or 65535 rather than 0 to 1. A program that expects floats between 0 and 1 reads them as far above that range.
If you need to go back, PFM to CALS converts in the other direction.
CALS and PFM.What each format is.
The formats
CALS Raster
CALS Type 1 raster, the black and white Group 4 scans of engineering drawings and technical manuals in defense and government archives.
- Extensions
- .cal .cals
- MIME type
- image
/x -cals - 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 CALS to PFM conversion through the API, for your app or your agent.
$ cv convert photo.cal photo.pfm$ cv convert photo.cal photo.pfmQuestions.What people ask about CALS to PFM.
No. They keep the 8- or 16-bit scale of the source, up to 255 or 65535.
No. The file is uncompressed, with each color stored as a 32-bit float.
Yes. You get one PFM file.
Yes. PFM to CALS goes in the other direction.