Convert MNG to PFM
Turn MNG 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 MNG files on the dialor turn it to pick what to do
One still frame as floating-point pixels.An MNG animation becomes a PFM file with 32-bit float colors.
What you get
One PFM file. Each color is stored as a 32-bit float, uncompressed.
The values keep the scale of the source, which is 8-bit or 16-bit. They run up to 255 or 65535 rather than 0 to 1, so a program that expects 0 to 1 may need to rescale them.
What changes
An MNG holds an animation, but a PFM holds one picture. Only the first frame is kept, and the other frames are dropped.
Transparency is dropped too. The PFM has colors only.
Related conversions
To go the other way, use PFM to MNG. PFM is the Portable FloatMap format, part of the PNM family and used for HDR and depth maps.
MNG and PFM.What each format is.
The formats
MNG Animation
Multiple-image Network Graphics, the animated sibling of PNG from the late 1990s.
- Extensions
- .mng
- MIME type
- video
/x -mng - 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 MNG to PFM conversion through the API, for your app or your agent.
$ cv convert photo.mng photo.pfm$ cv convert photo.mng photo.pfmQuestions.What people ask about MNG to PFM.
No. Only the first frame is written. The rest of the animation is dropped.
No. They keep the 8- or 16-bit scale of the source, up to 255 or 65535.
No. The PFM is uncompressed, with each color stored as a 32-bit float.
It is dropped. The PFM keeps the colors but not the transparent areas.