Convert DCM to XBM

Turn DCM images into XBM. 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 black and white bitmap as C source.The DICOM image becomes an X11 bitmap in text form. Colors reduce to black and white.

  1. What you get

    One XBM file. It is an X11 bitmap written as C source text, so you can open it in a text editor or include it in a C program.

    The image is black and white only. XBM has no place for shades or colors, so the result is a two-tone picture.

  2. What it leaves behind

    The patient and study tags are left out. DICOM keeps them next to the pixels, but XBM holds only the picture, so none of that information is in the output.

    If you need the tags, keep the original DCM file. The XBM is only the image.

  3. Options

    This conversion has no options. Each DICOM file gives one XBM file with the settings fixed.

    To go the other way, use XBM to DCM. For other conversions from this format, see every DCM conversion.

DCM and XBM.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 · XBM

X BitMap

X BitMap, monochrome images as C source.

Extensions
.xbm
MIME type
image/x-xbitmap
Kind
Images

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

terminal
$ cv convert photo.dcm photo.xbm
$ cv convert photo.dcm photo.xbm

Questions.What people ask about DCM to XBM.

01OF 04

XBM is X BitMap, a monochrome image format written as C source. The file is plain text.

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

No. The output is black and white only.

No. This conversion has no options, so you cannot change its settings.

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