PGX to PFM Converter

Simple PGX to PFM image converter — free

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

Data Protection

Every PGX file is removed from servers once conversion finishes. PFM downloads stay accessible for 24 hours before automatic deletion.

Effortless Process

The PGX to PFM converter has a clean, intuitive interface. Upload your file, pick PFM as the output, and the converter does the rest.

Cloud-Based Engine

Conversion runs on powerful servers, not your device. Upload your PGX files and let the cloud handle the heavy lifting for PFM output.

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

PGX is a simple single-component raster image format defined as part of the JPEG 2000 standard (ISO/IEC 15444) for use in conformance testing and verification of JPEG 2000 codec implementations. Introduced around 2000 alongside the JPEG 2000 specification itself, PGX files store a single image component (one color channel or grayscale plane) with a text header followed by raw pixel data, providing an unambiguous reference representation against which encoder and decoder outputs can be compared sample by sample. The header is a single ASCII line specifying endianness (ML for big-endian, LM for little-endian), signedness (+ for unsigned, - for signed), bit depth (1 to 32 bits), width, and height. The pixel data follows as raw binary values, each occupying the minimum number of bytes needed for the specified bit depth, with one value per pixel. For multi-component images (like RGB), each component is stored in a separate PGX file. The format's deliberate simplicity — no compression, no metadata, no multi-channel support — ensures there are no ambiguities in interpretation that could mask codec bugs. One advantage is verification precision: PGX's uncompressed, exactly-specified representation allows bit-exact comparison of decoded JPEG 2000 output against reference images, essential for certifying that a codec implementation conforms to the standard. The format's role in the JPEG 2000 conformance testing framework means it is implemented by every serious JPEG 2000 codec (OpenJPEG, Kakadu, etc.) and used in the official ISO conformance test suite. PGX files can also be processed by ImageMagick and various JPEG 2000 development tools.
Initial release: 2000
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 PGX to PFM?

Most image tools cannot open PGX files directly. PFM output lets you view, edit, and distribute images from standards conformance testing easily.

What programs open PFM files?

Open PFM files with any image editor or viewer — Photoshop, GIMP, Paint.NET, IrfanView, or the built-in viewer on your operating system.

What makes PGX files different?

PGX is a deliberately simple, single-component raw image format. Its sole purpose is providing unambiguous test data for JPEG 2000 compliance.

Which platforms are supported?

Every platform with a modern browser works — Windows, macOS, Linux, ChromeOS, iOS, and Android all run the PGX to PFM converter perfectly.

Is batch PGX to PFM conversion supported?

You can queue multiple PGX files and convert them to PFM in one go. Each file processes independently and downloads separately.