DICOM files

Convert DICOM to JPG or PNG on Windows & Mac

A DICOM file (.dcm, or a disc file with no extension) needs a special viewer; a JPG or PNG opens anywhere. Here are the free ways to convert one picture or a whole series.

Windows, Mac and LinuxOne picture or a whole seriesChecked November 2026

Why a DICOM is not just a picture

A scan stores far more shades of grey than a screen can show. A viewer picks a window, the range of values shown from black to white, which decides whether you see lungs, soft tissue or bone. Converting fixes one window and squeezes it into the 256 grey levels of an ordinary picture; the rest is lost, so convert from a view that shows what you need.

PNG keeps every pixel of that picture: best for slides, reports and teaching. JPG is smaller and fine for emailing, but loses a little detail.

Ways to convert DICOM to JPG or PNG

ToolCostRuns onWhat it saves
MicroDicomFree for non-commercial useWindows 7 to 11JPG, PNG, BMP, GIF, TIF or WMF; one image, or a whole series, study or patient at once
WeasisFree, open sourceWindows, macOS and LinuxThe current view as PNG, TIFF, JPG, JPEG 2000 or JPEG XL, or to the clipboard
RadiAntTime-limited trial, then a paid subscription per PCWindows 7 to 11JPEG or BMP (no PNG); the current image, the series or all opened series
Python (pydicom and Pillow)Free, open sourceAny computer with PythonAnything you script, including whole folders
Online convertersUsually freeIn the web browserUsually one file at a time; the scan is uploaded to someone else’s server
SlideScopePaid; free sample library, subscription from $35/monthWindows 10/11 and macOS 14 or laterThe current view as PNG, TIFF or JPEG, one picture at a time; no bulk conversion

Facts from each tool’s own website or documentation, checked in November 2026. SlideScope is our product.

Convert a whole series with MicroDicom (Windows)

  1. Open the images: File › Open DICOMDIR for a disc, or Scan for DICOM files for a folder.
  2. Choose File › Export › To a picture file… (Shift+P).
  3. Pick a destination folder, then the source: the current image, the series, the study, the patient or all patients.
  4. Choose the format (JPG or PNG) and click Export.

Save one picture with Weasis (Windows, Mac, Linux)

  1. Open the file, folder or disc in Weasis and set the window you want.
  2. Choose File › Export › Take a screenshot (Ctrl+Shift+S in recent versions).
  3. Choose Current view to keep what is drawn on screen, or Original image for the bare image, then PNG or JPG.

Convert with Python (pydicom and Pillow)

For students and researchers with many files. This script converts one single-image, grey-scale file (CT, MRI or X-ray): it applies the rescale slope and intercept (which turn stored numbers into real values, such as Hounsfield units on a CT), then a window, then scales to 8-bit. Install with pip install pydicom pillow numpy.

import sys
import numpy as np
import pydicom
from pydicom.multival import MultiValue
from PIL import Image

def first(value):
"""A window value can hold several numbers: take the first (None if empty)."""
if isinstance(value, MultiValue):
value = value[0] if len(value) else None
return None if value in (None, "") else float(value)

ds = pydicom.dcmread(sys.argv[1])   # one DICOM file: IM000001, scan.dcm ...
image = ds.pixel_array.astype(np.float64)

# 1. Stored numbers to real values (Hounsfield units on a CT)
slope = float(ds.get("RescaleSlope") or 1)
intercept = float(ds.get("RescaleIntercept") or 0)
image = image * slope + intercept

# 2. A window: the one the scanner saved, or else the full range
center, width = first(ds.get("WindowCenter")), first(ds.get("WindowWidth"))
if center is not None and width:
low, high = center - width / 2, center + width / 2
else:
low, high = image.min(), image.max()

# 3. Scale to 0-255 (8-bit) and save
image = np.clip((image - low) / max(high - low, 1e-6), 0, 1) * 255
if ds.get("PhotometricInterpretation") == "MONOCHROME1":
image = 255 - image   # this kind of X-ray stores white as 0
Image.fromarray(image.astype(np.uint8)).save(sys.argv[2])   # .png or .jpg

Run it as python dicom_to_png.py IM000001 IM000001.png, and loop over a folder for a whole series. For a CT you can set the window yourself, for example centre 40 and width 400 for soft tissue. Compressed files, common on discs, may need an extra decoder: pydicom’s documentation lists pylibjpeg with pylibjpeg-libjpeg or pylibjpeg-openjpeg, or python-gdcm. The PNG holds only pixels: the name and date of birth stored in the DICOM file do not go into it, but any text burned into the image itself does.

Online converters: think before you upload

Uploading a medical scan to a converter website sends personal health data to a third party: a DICOM file usually carries your name, date of birth and the hospital’s details. Read how the site handles files, or use a desktop tool. For research data, upload only de-identified files.

Saving a picture in SlideScope

SlideScope is a paid viewer for Windows and Mac. Open the scan, set the window and zoom, then:

  • File › Export Current View as Image… (Ctrl+Shift+E, or Command+Shift+E on a Mac) saves what is on screen, overlays included, as PNG, TIFF or JPEG.
  • File › Copy View as Image (Ctrl+Alt+C) copies it to paste into an email, a document or a slide.

It saves one picture at a time; it has no bulk conversion. For a whole series, use MicroDicom, RadiAnt or the script above. Exporting your own images needs a subscription. Medical scans stay on your computer: AI, cloud saving and share links are off for them.

A picture is not a diagnosis

A picture shows one window of the scan and drops the rest: it is for sharing and teaching, not diagnosis. Viewing your scan at home does not replace your doctor’s reading. Discuss your images with your doctor.

Questions people ask

How do I convert a DCM file to JPG?

Open it in a DICOM viewer and export it as a picture. In MicroDicom on Windows choose File, Export, To a picture file; in Weasis on Windows, Mac or Linux choose File, Export, Take a screenshot. Pick JPG or PNG.

Can I convert a whole DICOM series to JPG at once?

Yes. MicroDicom exports a whole series, study or patient in one go, and RadiAnt exports a series or all opened series to JPEG or BMP. For many folders, a short Python script with pydicom and Pillow works on any system.

Should I save as JPG or PNG?

PNG keeps every pixel of the picture you exported, so use it for slides, reports and teaching. JPG files are smaller and fine for emailing a picture to family, but they lose a little detail.

Is it safe to use an online DICOM to JPG converter?

Be careful. Uploading a scan sends it, with your name, date of birth and hospital details stored in the file, to a third party. Prefer a desktop tool, or use only de-identified files online.

Does SlideScope convert DICOM to JPG?

It saves one picture at a time: File, Export Current View as Image saves what is on screen as PNG, TIFF or JPEG. It has no bulk conversion; for a whole series use MicroDicom, RadiAnt or a script.

Is SlideScope free?

No. SlideScope is a paid app: opening your own images, and exporting them, needs a subscription, from $35/month. Downloading it, the built-in sample library with every tool, and checking whether your own files open are free.

View and export your scans on your own computer

Free sample library with every tool; your own images need a subscription. Already decided? Subscribe now.

Download SlideScope