PNG to PFM Converter

Convert PNG to PFM floating-point image free

Drop files here. 1 GB maximum file size or Sign Up
to
Facebook Amazon Microsoft Tesla Nestle Walmart L'Oreal

Floating-Point Data

PFM stores image values as 32-bit floats — your PNG pixel data enters the domain of high-precision scientific imaging.

Scientific Imaging

Convert PNG to PFM for computer vision, HDR tone mapping, and rendering workflows that require floating-point pixel data.

Online Processing

No scientific imaging tools needed. Convert PNG to PFM floating-point format directly through the web interface.

How to convert PNG to PFM

1

Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.

2

Choose pfm or any other format you need as a result (more than 200 formats supported)

3

Let the file convert and you can download your pfm file right afterwards

About formats

PNG (Portable Network Graphics) is a lossless raster image format developed by the PNG Development Group and published as a W3C Recommendation on October 1, 1996, created as a patent-free replacement for GIF after the Unisys LZW patent controversy. PNG uses a two-stage compression pipeline: a prediction filter selects the optimal per-row preprocessing (none, sub, up, average, or Paeth), then DEFLATE compression encodes the filtered data. The format supports rich color modes — 1/2/4/8/16-bit grayscale, 8/16-bit per channel true color, and indexed color with palettes up to 256 entries — all with optional alpha transparency ranging from a single transparent color to a full per-pixel alpha channel with 256 or 65536 levels. PNG also stores gamma correction, ICC color profiles, text metadata, and suggested background color. One advantage is lossless compression with transparency — PNG preserves every pixel exactly while supporting smooth semi-transparent edges, making it the standard format for web graphics, UI elements, logos, screenshots, and any image where artifacts or color shifts are unacceptable. Universal support is another core strength: every web browser, operating system, image editor, and programming library handles PNG natively. The format has proven remarkably durable — after nearly three decades, PNG remains the default lossless web image format. While newer formats like WebP and AVIF offer better compression, PNG's combination of lossless quality, full transparency, and absolute ubiquity keeps it indispensable.
Initial release: October 1, 1996
PFM (Portable Float Map) is a floating-point raster image format devised by Paul Debevec around 2001, designed to store high-dynamic-range image data with the simplicity of the Netpbm family of formats. PFM extends the PBM/PGM/PPM philosophy — minimal header, raw data, no compression — to 32-bit IEEE floating-point samples, providing direct access to HDR pixel values without the encoding overhead of formats like OpenEXR or the limited range of Radiance HDR's RGBE encoding. The file structure is deliberately minimal: a two-character magic number ('Pf' for grayscale, 'PF' for color), width and height on the next line, a scale/endianness indicator (negative for little-endian, positive for big-endian, with magnitude indicating scale factor), and then the raw 32-bit float data for each pixel. PFM files store one float per pixel for grayscale or three floats (RGB) per pixel for color, with no compression, alpha channel, or metadata support. The format emerged from the HDR imaging research community where Debevec's work on image-based lighting and light stage capture required a simple, unambiguous way to store linear floating-point radiance values that could be easily exchanged between research tools. One advantage is absolute simplicity for HDR data: PFM can be read and written in a few lines of code in any language that supports IEEE floats, with no library dependencies — ideal for research prototyping and quick data exchange between custom tools. The format's widespread adoption in the computer vision and computational photography research community is another practical strength — optical flow benchmarks (Middlebury), depth estimation datasets, and radiance field captures commonly use PFM. The format is supported by ImageMagick, OpenCV, HDR Shop, and Luminance HDR.
Developer: Paul Debevec
Initial release: 2001

Frequently Asked Questions

Why convert PNG to PFM?

PFM stores pixel values as floating-point numbers — extending beyond the 0-255 range of PNG for HDR imaging and scientific computation.

What reads PFM files?

ImageMagick, Photoshop (via plugins), HDR imaging tools, computer vision libraries (OpenCV), and PBRT renderer handle PFM files.

Is PFM an HDR format?

PFM uses floating-point values that can represent HDR data. Converting from 8-bit PNG maps values to the float range without adding range.

Is this conversion free?

Standard PNG to PFM conversion is free on Convertio. Premium plans offer batch processing and faster speeds.

How is PFM different from PNM?

PFM uses floating-point values instead of integers. It is the Netpbm-style format for high-precision scientific image data.

What precision does PFM use?

PFM stores 32-bit IEEE floats per channel — providing far more precision than the 8-bit integer values in standard PNG.

PNG to PFM Quality Rating

4.3 (44 votes)
You need to convert and download at least 1 file to provide feedback!