Convert DCM to XPM

Turn DCM images into XPM. Only the first frame is read, its contrast stretched from the darkest to the brightest pixel rather than the window stored in the file.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A DICOM image as C source text.The result is an XPM file with a color palette and transparency.

  1. What you get

    One XPM file, an X11 pixmap written as C source text. It holds the image as a color palette plus the pixels that use it, and it supports transparency.

  2. What it leaves behind

    The patient and study tags are left out. A DICOM file carries them alongside the pixels, but the XPM keeps only the image.

    If you need the tags, keep the original DCM file. XPM to DCM goes the other way, from a pixmap back to a DICOM file.

DCM and XPM.What each format is.

The formats

From · DCM

DICOM

Medical images from CT, MRI, X-ray and ultrasound, with the patient and study tags alongside the pixels.

Extensions
.dcm .dicom
MIME type
application/dicom
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 DCM to XPM conversion through the API, for your app or your agent.

terminal
$ cv convert photo.dcm photo.xpm
$ cv convert photo.dcm photo.xpm

Questions.What people ask about DCM to XPM.

01OF 04

It is an X PixMap, an image stored as C source. The file is plain text with a color palette.

No. The patient and study tags are left out, and only the image is written.

One file.

See every XPM conversion for the other ways to make or use this format.

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