XWD to PFM Converter

XWD to PFM conversion — modern image format in seconds

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

Modern Format Output

PFM provides floating-point image format for HDR workflows — a significant upgrade over the legacy XWD format for everyday image use and sharing.

Lightning Fast

XWD files are small and convert to PFM in seconds. The cloud-based engine handles the transformation quickly so you can download right away.

Simple Interface

Three steps to convert: upload your XWD, select PFM, and download. The clean interface makes the process intuitive even for first-time users.

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

XWD (X Window Dump) is a screen capture image format defined as part of the X Window System by the MIT X Consortium, dating to approximately 1987. The xwd command-line utility captures the contents of an X window or the entire screen and saves it as an XWD file — functionally equivalent to a screenshot utility but predating the concept by years. XWD files contain a detailed header specifying the X server's visual type, bit depth, byte order, bitmap unit and padding, the window's dimensions, border width, and color map information, followed by the raw pixel data exactly as represented in the X server's framebuffer. This means XWD files faithfully capture the exact pixel representation used by the display hardware — including server-specific byte ordering, padding, and color organization — making them primarily useful on the system where they were captured or on systems with compatible display configurations. The header also stores the window name string and the full color map entries for indexed-color visuals. XWD supports all X11 visual types: StaticGray, GrayScale, StaticColor, PseudoColor, TrueColor, and DirectColor, at any bit depth supported by the X server. One advantage is exact framebuffer fidelity: XWD captures the window's pixel data in its native format without any color space conversion or compression, making it the definitive record of what the X server was actually displaying. The format's integration with the X11 command-line toolkit provides another practical benefit — xwd can capture specific windows by ID or name, be triggered remotely via SSH, and piped directly to format converters. XWD files are handled by ImageMagick, GIMP, xwud (the viewer companion to xwd), and xv.
Developer: MIT X Consortium
Initial release: 1987
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 would I convert XWD to PFM?

Few modern tools handle XWD natively. PFM provides floating-point image format for HDR workflows, making it widely recognized across operating systems and applications.

What programs open PFM files?

Open PFM using ImageMagick, Photoshop, HDR imaging tools. Cross-platform support means you can access these files on virtually any system.

What platforms support this XWD converter?

Convertio is entirely web-based. Convert XWD to PFM from Chrome, Firefox, Safari, Edge, or any modern browser on any operating system.

Is my XWD file safe when converting online?

Your files are secure. Uploaded XWD images are erased immediately after processing, and PFM outputs are purged within 24 hours.

Is XWD to PFM conversion free?

Standard conversions are available for free on Convertio. Larger volumes or higher usage may benefit from a premium plan for additional capacity.