HDR to PFM Converter

HDR to PFM in seconds — online conversion tool

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

Remote Processing

The heavy lifting happens on Convertio's servers. Your computer or phone stays unburdened while HDR converts to PFM in the cloud.

Data Safety First

All uploaded HDR data is wiped after processing. Converted PFM results expire from the server within 24 hours automatically.

Multi-File Support

Need to convert a batch of HDR files? Upload them together and get PFM versions of each — efficient and time-saving.

How to convert HDR 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

HDR (also known as RGBE or Radiance HDR) is a high-dynamic-range image format created by Greg Ward Larson as part of the Radiance) lighting simulation system, developed at Lawrence Berkeley National Laboratory starting in 1985 with the HDR format emerging around 1989. The format stores floating-point RGB pixel values using a compact 32-bit-per-pixel encoding called RGBE (Red, Green, Blue, Exponent): three 8-bit mantissa bytes share a single 8-bit exponent, representing luminance values across a range of roughly 76 orders of magnitude while keeping file sizes comparable to standard 24-bit images. HDR files begin with a text header containing rendering and exposure metadata, followed by the RGBE pixel data compressed with a scanline-oriented run-length encoding scheme. The format captures the full luminance range of real-world scenes — from deep shadows to direct sunlight — enabling physically accurate lighting calculations, tone mapping to different display conditions, and post-capture exposure adjustment without the clipping artifacts inherent in 8-bit formats. One advantage is the format's foundational role in HDR imaging: Radiance HDR pioneered the concept of storing real-world luminance values in image files, and the .hdr format became the standard for light probe images and environment maps used in image-based lighting across the 3D rendering industry. The format's compact encoding is another practical strength — the RGBE scheme provides far more dynamic range than 8-bit formats while using only 33% more storage per pixel, a favorable tradeoff that made HDR practical on storage-limited systems of the late 1980s. HDR files are supported by Photoshop, GIMP, ImageMagick, Blender, and all major 3D renderers.
Developer: Greg Ward Larson
Initial release: 1989
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 HDR to PFM?

Radiance HDR files are for 3D lighting, not general viewing. PFM conversion produces an accessible preview version.

What programs open PFM files?

HDR imaging tools, ImageMagick, and some 3D renderers open PFM floating-point image data

Is tonemapping applied during conversion?

When converting Radiance HDR luminance data to a displayable format like PFM, tonemapping maps the full range into visible output.

Does HDR to PFM conversion preserve quality?

PFM is a lossless format, so the converted output retains full image detail and color data from the original HDR without degradation.

Are colors preserved in the HDR to PFM conversion?

HDR stores extended dynamic range data. Converting to PFM maps that range into the displayable gamut while retaining visual accuracy.

Can I batch convert multiple HDR files to PFM?

Upload several HDR files at once. Each one converts to PFM independently — download them individually or together when all are done.

HDR to PFM Quality Rating

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