Add a .pfm and get a 16-bit PNG that ordinary image apps open, its numbers shown as shades of light.
FluffyShieldProtected workspace
From
To
Loading the tool…
The tool didn't load. Reload the page, or check whether an extension or network filter blocks .
Free · No upload · No sign-up · No usage quotas
PNG options here: browser or advanced encoder; RGBA, RGB, grayscale or indexed color; 8- or 16-bit; Fast, Balanced or Maximum compression; interlacing. HDR, PFM and OpenEXR sources write a 16-bit Display P3 PNG by default. Which PNG settings are worth changing?
How it works
Every number is read as light
→A fixed curve eases big ones toward white
→A 16-bit PNG is saved
What it does
Gray stays gray
A gray PFM, one number per pixel, comes out with equal red, green and blue, so it looks just as gray in the PNG.
Limits There's no setting for which number counts as white: 1 always does.
Will a PNG show what's really in your PFM?
Only if the numbers are light. Anything else is drawn as if it were, by the same curve FluffyBench uses for pictures.
FluffyBench · 3 min read · Measured on a test picture
What if the numbers in your PFM aren't light?
A PFM holds one decimal number for each color of each pixel, and the format itself doesn't say what the numbers mean; Netpbm's description of it leaves the units to be understood separately. So a PFM can hold any measurement, not only light.
FluffyBench can't tell which it was given. It reads every PFM as light, where 0 is black and 1 is the white of an ordinary picture, and eases anything brighter down toward white with a fixed curve. For a picture of light that works well. For other numbers, the result follows the curve, not your data.
Seven numbers as grays
Every number below zero is black, and everything from 10 up is within a few shades of white. How we measured
So if your PFM holds, say, distances in meters, with most pixels well past 10, the PNG would come out as a pale sheet with near and far only faintly apart. Nothing on this page stretches the range first, so take the PNG as a quick look at the shape of the data, and keep the .pfm for the numbers themselves.
Making the PNG
The tool above opens on PFM to PNG with 16-bit output, which is what you want.
Add the .pfm with Choose images.
Press the Convert 1 to PNG button.
Press the download arrow on its card to save the PNG.
What else can you do with the .pfm?
The PFM is a render, and the PNG is headed for a web page.