Add a .pfm from a renderer or research program and get a JPG that any app or chat will show.
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
How it works
The PFM's rows are read bottom up
→Its numbers are eased under white
→The picture is saved as a JPG
What it does
A small file to share
A PFM spends 4 bytes on every color of every pixel; a JPG describes the picture in small patches instead. Our 128 by 96 test picture went from 147.5 KB to 5.2 KB.
Gray files too
A gray PFM, which stores one number for each pixel instead of three, comes out as a gray JPG.
Limits A PFM holding an infinite value, or ending before its last row, gets an error instead of a half-made picture.
Did your PFM come out upside down as a JPG?
Then it was saved with its rows top first. Nothing is lost: Flip in FluffyBench's Crop and adjust images tool turns it the right way up.
FluffyBench · 3 min read · Measured on a test picture
What if the JPG comes out upside down?
Then the program that saved the PFM wrote its rows the other way round. The format stores a picture from the bottom row up, and FluffyBench reads it that way. Netpbm's description of the format notes that Adobe Photoshop's version of PFM stores its rows from the top, so a file from Photoshop, or from a program that copies it, arrives here upside down.
Open Crop and adjust images and add the JPG with Choose images.
Press Adjust, at the top of the tool.
On a phone, press the gear button marked PNG; on a computer the settings are already open.
Under Flip, press Upside down.
Press Apply to all.
Press the download arrow on the turned picture's card. It's saved as a PNG.
Getting a JPG out of the .pfm
Color and gray PFM files both work with the tool exactly as it is.
Tap or click Choose images and select the .pfm.
Convert 1 to JPG starts the job.
Check the picture on the finished card: if it's upside down, see the steps above. Then press its download arrow.
The decimal numbers in a PFM also go beyond white, which a JPG can't show, so FluffyBench eases them down with a fixed curve first: the JPG is a picture to look at, and the .pfm is the copy to keep for the numbers.
When does a JPG fall short?
The PFM holds measurements, such as distances, not a picture of light.