Convert XPM to HDR

Turn XPM images into HDR. A Radiance HDR picture with the colors stored as floating-point light, without tone mapping.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An XPM image as a Radiance HDR file.The colors are stored as floating-point light. Transparency is dropped.

  1. What you get

    One Radiance HDR file made from your XPM image. The colors are stored as floating-point light, without tone mapping.

    The sRGB colors of the XPM become linear light from 0 to 1. Nothing in the picture is brighter than white.

  2. What it leaves behind

    Transparency. If the XPM has transparent areas, the HDR file does not keep them.

  3. Going the other way

    To turn an HDR file back into an XPM, use HDR to XPM.

XPM and HDR.What each format is.

The formats

From · XPM

X PixMap

X PixMap, images as C source.

Extensions
.xpm
MIME type
image/x-xpixmap
Kind
Images
To · HDR

Radiance HDR

Radiance HDR images with real-world brightness values.

Extensions
.hdr
MIME type
image/vnd.radiance
Kind
Images

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

terminal
$ cv convert photo.xpm photo.hdr
$ cv convert photo.xpm photo.hdr

Questions.What people ask about XPM to HDR.

01OF 04

No. The sRGB colors become linear light from 0 to 1, so nothing is brighter than white.

No. The colors are stored as floating-point light without tone mapping.

It is dropped.

Yes. The conversion produces one HDR file.

More conversions.Other ways in and out of XPM and HDR.