Convert RAW to XPM

Turn RAW images into XPM. The photo is developed with the camera's white balance and automatic brightness into 8-bit sRGB and turned upright.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A camera RAW photo as an XPM image.The photo is developed and written as C source text with a color palette.

  1. What you get

    One XPM file, an X11 pixmap written as C source text. It holds a color palette and supports transparency.

    The photo is developed with the camera's white balance and automatic brightness into 8-bit sRGB. It is also turned upright.

  2. What it leaves behind

    Lens corrections are not applied. The camera's own picture style is not applied either, so the colors follow the automatic development, not the look the camera would have given the photo.

RAW and XPM.What each format is.

The formats

From · RAW

Camera RAW

Camera RAW files from Canon, Nikon, Sony, Fujifilm and others, plus DNG.

Extensions
.dng .cr2 .cr3 .crw .nef .nrw .arw .srf .sr2 .raf .orf .rw2 .rwl .pef .ptx .srw .mrw .3fr .dcr .kdc .erf .mef .mos .iiq .fff .k25
MIME type
image/x-raw
Kind
Images
To · XPM

X PixMap

X PixMap, images as C source.

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

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

terminal
$ cv convert photo.dng photo.xpm
$ cv convert photo.dng photo.xpm

Questions.What people ask about RAW to XPM.

01OF 04

Camera RAW files from Canon, Nikon, Sony, Fujifilm and others, plus DNG. See every RAW conversion for the other formats you can convert to.

Yes. The photo is developed with the camera's white balance and automatic brightness.

No. Lens corrections are not applied, and neither is the camera's own picture style.

Yes. The XPM file is written with a color palette and transparency.

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