RLE to PFM Converter

Convert compressed rasters to PFM format online for free

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

Browser-Based Tool

No downloads or plugins needed — convert RLE to PFM directly in your web browser on any operating system or device.

Quick Turnaround

Most RLE files convert to PFM within moments. Server-side processing ensures speed regardless of your device capabilities.

Research Data Access

Utah RLE images from early CG research become viewable again when converted to PFM — no specialized toolkit needed.

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

RLE (Run-Length Encoded) in the context of the Utah RLE format refers to a raster image file format developed by Spencer W. Thomas at the University of Utah's Computer Science Department around 1983, as part of the Utah Raster Toolkit. The format stores images using a scanline-oriented run-length encoding scheme that compresses sequences of identical pixel values into count-value pairs, achieving good compression ratios for images with large areas of solid color — typical of computer-generated graphics and rendered scenes common in computer science research at the time. Utah RLE supports 1 to 255 color channels per pixel, with 8 bits per channel, and includes a header specifying image dimensions, number of channels, background color, and an optional color map. The format accommodates alpha channel data as an additional channel, and empty scanlines (matching the background color) can be omitted entirely for further compression. The Utah Raster Toolkit provided a suite of Unix command-line tools for manipulating RLE images — operations like compositing, scaling, rotating, color manipulation, and format conversion — establishing a software paradigm later echoed by Netpbm and ImageMagick. One advantage is the format's foundational role in computer graphics: the Utah Raster Toolkit and its RLE format emerged from the same research environment that produced the Phong shading model, Gouraud shading, and the teapot — and much of the early computer graphics research output was stored in this format. The format is supported by ImageMagick, GIMP, and various legacy graphics tools.
Initial release: 1983
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 RLE to PFM?

The Utah RLE format served early CG research but is now obsolete. Converting to PFM safeguards those images for the future.

What programs can open PFM?

Photoshop, GIMP, HDR imaging tools, and ImageMagick open PFM floating-point images. Used in HDR photography and scientific imaging.

Is the conversion from RLE to PFM lossless?

The conversion keeps your image data intact — PFM does not introduce compression artifacts, ensuring the output matches the original closely.

How long does RLE to PFM conversion take?

Conversion is handled on cloud servers and usually completes in a few seconds. Larger or higher-resolution RLE images may take slightly longer.

Can I convert multiple RLE images at once?

Yes — upload multiple RLE files in one session and convert them all to PFM simultaneously. Batch processing saves time on repetitive tasks.

What resolution does RLE support?

Utah RLE supports arbitrary image dimensions. The converter handles any valid RLE resolution and outputs it faithfully as PFM.