Convert GIF to PFM
Turn GIF 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 GIF files on the dialor turn it to pick what to do
A float image from a GIF.Each color becomes a 32-bit float in an uncompressed PFM file.
What you get
One PFM file with each color stored as a 32-bit float. The file is uncompressed.
The values keep the scale of the source, up to 255 or 65535, rather than running from 0 to 1. A tool that expects values between 0 and 1 needs to account for this.
What it leaves behind
Transparency is dropped, so the PFM has no alpha information.
An animated GIF gives only its first frame. The other frames are not in the output.
Going the other way
To turn a PFM back into a GIF, use PFM to GIF. For other conversions that start from GIF, see every GIF conversion.
GIF and PFM.What each format is.
The formats
GIF
Indexed-color images with simple animation. Limited to 256 colors per frame.
- Extensions
- .gif
- MIME type
- image
/gif - 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 GIF to PFM conversion through the API, for your app or your agent.
$ cv convert photo.gif photo.pfm$ cv convert photo.gif photo.pfmQuestions.What people ask about GIF to PFM.
No. The values keep their 8- or 16-bit scale, up to 255 or 65535, rather than 0 to 1.
Only the first frame is converted. The rest of the animation is not in the PFM.
No. Transparency is dropped in the PFM.
No. The file is uncompressed, with each color stored as a 32-bit float.