PNG to PFM Converter
Convert PNG to PFM in your browser. PNG files usually come from screenshots, design exports, logos and web graphics; PFM is the better fit for HDR research, depth and disparity maps. You get a 32-bit float colour PFM in linear light. Nothing is uploaded.
- Processed locally
- No upload, no wait
- No sign-up
- No watermark
Drop images here
or choose files · paste with Ctrl/⌘ V
PNG expected · other image formats also work
How to use PNG to PFM
- 1
Add your PNG files: drop them here, choose them, or paste from the clipboard.
- 2
Pick the colour that replaces transparent areas, since PFM has none.
- 3
Click Convert. Each file is decoded and encoded in a background thread on this device.
- 4
Download the .pfm files one at a time or together as a ZIP.
Why use Aback Images for png to pfm
Where the PFM goes next
PFM opens in ImageMagick, OpenCV, Photoshop, Netpbm and HDR research tools.
PFM next to PNG
The PFM is written uncompressed, so expect it to be several times larger than the PNG, which stores lossless DEFLATE with a prediction filter chosen per row.
Written without a lossy pass
The PFM is written uncompressed, so the pixels decoded from the PNG arrive unchanged, apart from precision beyond 8 bits per channel.
Processed on your device
Your images are decoded, edited and encoded inside this browser tab by Web Workers. Nothing is uploaded to a server.
PNG vs PFM
What changes from PNG to PFM
Encoding: the PNG uses lossless DEFLATE with a prediction filter chosen per row; PFM uses none, and the download is a 32-bit float colour PFM in linear light.
Bit depth: 1, 2, 4, 8 or 16 bits per channel in the PNG; PFM allows 32-bit floating point per channel, and the PFM written here has 32-bit float per channel. 16-bit PNGs from photo and scientific software are reduced to 8 bits per channel.
Colour: RGB, greyscale, or an indexed palette of up to 256 colours in the PNG; PFM supports RGB ('PF') or greyscale ('Pf'), in linear values, written here as linear-light RGB.
Transparency: the PNG stores it as a full alpha channel, so edges and shadows can fade smoothly; the PFM has none, so transparent areas are filled with the colour you choose.
Metadata: the PNG can carry text chunks, an ICC profile, physical resolution and EXIF in an eXIf chunk; PFM can carry none beyond the header, but nothing is copied across.
About PNG
PNG stores pixels losslessly with full alpha transparency. It is ideal for screenshots, logos, UI and anything with sharp edges, but photos saved as PNG are several times larger than JPEG.
A PNG opens with an 8-byte signature and is a chain of chunks, each with its own CRC: IHDR (size, depth, colour type), optional PLTE and tRNS for palettes, one or more IDAT chunks with the compressed rows, and IEND.
PNG files usually come from screenshots, design exports, logos and web graphics.
About PFM
PFM is a minimal floating-point image format in the Netpbm style: a three-line text header and raw 32-bit floats. Research code uses it for HDR images, disparity and depth maps.
A PFM file is the text 'PF' (colour) or 'Pf' (greyscale), the width and height, and a scale factor whose sign gives the byte order (negative means little-endian), then 32-bit floats with rows stored from the bottom of the image up.
When converting PNG to PFM makes sense
PFM is the better choice for HDR research, depth and disparity maps, while PNG suits screenshots, logos, graphics and anything that needs transparency.
PFM strengths: Full 32-bit float precision; Trivial to read and write. Drawbacks to weigh: Uncompressed and very large; No alpha; Unknown to most apps.
Limitations
- No range is added: the PFM holds the 8-bit picture in linear light, and nothing in it is brighter than the original white.
- PFM stores 12 bytes per pixel, so files are very large.
- Values are linear light; viewers that show raw values without a display curve make the image look darker.
More conversions
Related tools
Convert PFM to PNG in your browser, ready for screenshots, logos, graphics and anything that needs transparency. Batch, private, no uploads.
Convert PNG to JPG in your browser, with transparency filled in a colour you pick. Batch, private, no uploads.
Convert PNG to WebP in your browser, ready for images on websites and in apps. Batch, private, no uploads.
Convert PNG to AVIF in your browser, ready for maximum compression on modern websites. Batch, private, no uploads.
Convert PNG to PDF in your browser, one PDF page per image. Batch, private, no uploads.
Convert PNG to ICO in your browser, multi-size icons for favicons and Windows. Batch, private, no uploads.
Convert PNG to SVG in your browser, traced into real vector paths. Batch, private, no uploads.
Convert PNG to EPS in your browser, with transparency filled in a colour you pick. Batch, private, no uploads.
Frequently asked questions
Does converting PNG to PFM lose quality?
PFM is written uncompressed, so the pixels are stored exactly as decoded. 16-bit PNGs from photo and scientific software are reduced to 8 bits per channel.
What happens to transparency when converting PNG to PFM?
PNG stores transparency as a full alpha channel, so edges and shadows can fade smoothly. PFM has no alpha channel, so transparent pixels are composited onto a solid colour, white unless you pick another. To keep transparency, convert to PNG, WebP or AVIF instead.
Which apps open PFM files?
ImageMagick, OpenCV, Photoshop, Netpbm and HDR research tools. It does not open in web browsers.
Are my images uploaded anywhere?
No. Processing happens inside your browser with WebAssembly and Web Workers. The site only downloads the app code and codecs; your files never leave your device. You can confirm this with the live upload counter on the tool, or in your browser's network panel.
Can I process many files at once?
Yes. Drop a whole selection or folder. Files are processed in parallel on several worker threads, each result can be downloaded on its own, and everything can be saved as one ZIP.
Is it free? Is there a file limit or watermark?
It is free with no account, no watermark and no daily limit. The only limit is your device's memory: very large images (over roughly 100 megapixels) may be refused to keep the tab from crashing.