Convert WEBP to PFM
Turn WEBP 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 WEBP files on the dialor turn it to pick what to do
WebP images as floating-point pixels.One PFM file with each color as a 32-bit float, uncompressed.
What you get
A Portable FloatMap with one file as the result. Each color value is stored as a 32-bit float, and the data is uncompressed.
PFM belongs to the PNM family and is used for HDR and depth maps.
How values are scaled
The values keep their 8- or 16-bit scale. They run up to 255 or 65535 instead of 0 to 1. A program that expects values from 0 to 1 needs to divide by the maximum.
What it leaves behind
Transparency is dropped, so the alpha channel is not in the PFM file.
An animated WebP gives only its first frame. The other frames are not kept.
To go the other way, use PFM to WEBP.
WEBP and PFM.What each format is.
The formats
WebP
Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.
- Extensions
- .webp
- MIME type
- image
/webp - 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 WEBP to PFM conversion through the API, for your app or your agent.
$ cv convert photo.webp photo.pfm$ cv convert photo.webp photo.pfmQuestions.What people ask about WEBP to PFM.
No. They keep the 8- or 16-bit scale of the source, up to 255 or 65535.
No. Transparency is dropped.
The PFM holds only the first frame of the animation.
No. Each color is stored as an uncompressed 32-bit float.