Convert AVIF to PFM
Turn AVIF 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 AVIF files on the dialor turn it to pick what to do
AVIF as floating-point pixels.You get one PFM file with each color stored as a 32-bit float.
What you get
A Portable FloatMap, which is a floating-point image in the PNM family used for HDR and depth maps. Each color value is a 32-bit float, and the file is uncompressed.
The values keep the scale of the source, which is 8- or 16-bit, so they run up to 255 or 65535 rather than 0 to 1. A tool that expects values from 0 to 1 needs to account for this.
What is dropped
Transparency is dropped. Any alpha in the AVIF is not carried into the PFM.
An animated AVIF gives only its first frame. The other frames are not in the output.
Going back
To turn a PFM into an AVIF, use PFM to AVIF. It is a separate conversion with its own result.
AVIF and PFM.What each format is.
The formats
AVIF
AV1-based images with better compression than WebP and support for HDR and alpha.
- Extensions
- .avif
- MIME type
- image
/avif - 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 AVIF to PFM conversion through the API, for your app or your agent.
$ cv convert photo.avif photo.pfm$ cv convert photo.avif photo.pfmQuestions.What people ask about AVIF to PFM.
No. They keep the 8- or 16-bit scale, so they go up to 255 or 65535.
No. The PFM is uncompressed, with each color stored as a 32-bit float.
Only the first frame is converted. You get one file.
No. Transparency is dropped in the conversion.