Convert DCM to PNG
Turn DCM images into PNG. The first frame at its own size, 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 a PNG.The first frame, at its own size, with the contrast stretched.
What you get
One PNG made from the first frame of the DCM file. It has the same width and height as the frame in the file.
The contrast is stretched from the darkest pixel to the brightest pixel in the frame. The window stored in the file is not used, so the picture can look different from how a viewer shows it with that window.
What it leaves behind
Patient and study tags are left out. The PNG holds the picture only, with none of the tags that sit alongside the pixels in a DCM file.
Only the first frame is converted. If the file holds more frames, they do not appear in the output.
The stretch changes the pixel values compared with the original data. Use the PNG to look at the image, not as a copy of the stored values.
When it stops
The conversion stops with
input_corruptedwhen the file could not be parsed.It stops with
unsupported_elementswhen the file holds something PNG cannot carry.
DCM and PNG.What each format is.
The formats
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
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same DCM to PNG conversion through the API, for your app or your agent.
$ cv convert photo.dcm photo.png$ cv convert photo.dcm photo.pngQuestions.What people ask about DCM to PNG.
No. Patient and study tags are left out, and only the picture is written.
The contrast is stretched from the darkest to the brightest pixel. The window stored in the file is not applied.
Only the first frame is converted. You get one file.
PNG to DCM converts in the other direction. See every DCM conversion for the full list.