Convert PFM to APNG
Turn PFM images into APNG. Values from 0 to 1 are shown as black to white without a brightness curve, and values outside that range are clipped, so depth or disparity maps need scaling first.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop PFM files on the dialor turn it to pick what to do
A still APNG from a floating-point map.One PFM becomes one APNG with a single frame.
What you get
An APNG with one still frame. The pixels and the transparency of the PFM are carried into the frame without loss, as far as the values fall between 0 and 1.
The result is one file. APNG is full-color animation with alpha, but this conversion gives you a single frame, not a moving image.
How values are shown
Values from 0 to 1 are shown as black to white. No brightness curve is applied, so the numbers map straight to shades.
Values outside that range are clipped. Anything below 0 is shown as black, and anything above 1 is shown as white, so detail in those values is lost.
Depth and disparity maps
Depth and disparity maps often hold values beyond 0 to 1. Scale them into that range before you convert, or the clipped parts come out flat.
To go the other way, use APNG to PFM. For more options, see every PFM conversion.
PFM and APNG.What each format is.
The formats
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
Animated PNG
Animated PNG, full-color animation with alpha.
- Extensions
- .apng
- MIME type
- image
/apng - Kind
- Images
In your code.The same PFM to APNG conversion through the API, for your app or your agent.
$ cv convert photo.pfm photo.apng$ cv convert photo.pfm photo.apngQuestions.What people ask about PFM to APNG.
Yes, for values outside 0 to 1, which are clipped. Values inside that range are kept as they are, along with the transparency.
No. It holds one still frame, even though APNG can hold animation.
Depth and disparity values often fall outside 0 to 1, and those are clipped. Scale the map into that range first.
No. Values from 0 to 1 are shown as black to white without one.