Convert XWD to PFM

Turn XWD images into PFM. A Portable Float Map with each color as a 32-bit float, uncompressed.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop XWD files on the dialor turn it to pick what to do

A screen capture as float pixels.An XWD screen dump becomes one PFM file with 32-bit float colors.

  1. What you get

    One Portable FloatMap, the PNM-family format used for HDR and depth maps. Each color is stored as a 32-bit float, and the file is uncompressed.

  2. How values are scaled

    The values keep their 8- or 16-bit scale. They run up to 255 or 65535, not from 0 to 1. A program that expects floats between 0 and 1 needs to divide by the matching maximum.

  3. Going back

    To turn a PFM into an XWD capture, use PFM to XWD.

XWD and PFM.What each format is.

The formats

From · XWD

X Window Dump

Screen captures written by the X Window System.

Extensions
.xwd
MIME type
image/x-xwindowdump
Kind
Images
To · PFM

Portable FloatMap

Floating-point pixels in the PNM family, used for HDR and depth maps.

Extensions
.pfm
MIME type
image/x-portable-floatmap
Kind
Images

In your code.The same XWD to PFM conversion through the API, for your app or your agent.

terminal
$ cv convert photo.xwd photo.pfm
$ cv convert photo.xwd photo.pfm

Questions.What people ask about XWD to PFM.

01OF 04

It is a screen capture written by the X Window System.

It is a Portable FloatMap, a format in the PNM family that stores floating-point pixels. It is used for HDR and depth maps.

No. They keep the 8- or 16-bit scale of the source, up to 255 or 65535.

No. The file is uncompressed, with each color stored as a 32-bit float.

More conversions.Other ways in and out of XWD and PFM.