dcmtk(1)

πŸ“¦ version 3.7.1, in arch rolling

🌈 OFFIS DCMTK presents: dcmtk(1), the tool-launcher bestie πŸ’…

🌸 NAME 🌸

dcmtk β€” execute a DCMTK command line tool, bestie. That’s the whole vibe.


✨ SYNOPSIS ✨

dcmtk [options] tool [tool-parameters-and-options]

πŸ’– DESCRIPTION πŸ’–

Okay so dcmtk is literally the main character here: it maintains a list of all available DCMTK command line tools and acts as a proxy for calling the tools, passing on all arguments and options. Periodt.

It looks for the command line tools in the same directory where dcmtk is present, ignoring the system PATH environment variable. This is useful when multiple versions of DCMTK are installed simultaneously. No cap, that’s the whole point.

Heads-up bestie: it does not go hunting through your system PATH β€” it stays in its own directory. Iconic behavior, honestly.

πŸŽ€ PARAMETERS πŸŽ€

  • tool β€” the DCMTK command line tool to call (see the list below, bestie πŸ’–)

✨ OPTIONS ✨

general options πŸ¦‹

  • -h, --help β€” print this help text and exit
  • --version β€” print version information and exit
  • -d, --debug β€” debug mode, print debug information

πŸ‘‘ TOOLS πŸ‘‘

conversion tools 🧚

  • dcm2img β€” converts a DICOM image to a standard image format
  • dcm2json β€” converts a DICOM file and data set to JSON
  • dcm2xml β€” converts a DICOM file and data set to XML
  • dcmconv β€” converts DICOM file encoding
  • dcmdecap β€” extracts a file from DICOM encapsulated storage
  • dcmdump β€” dumps a DICOM file and data set
  • dcmencap β€” encapsulates a document into DICOM format
  • dcmodify β€” modifies DICOM files
  • dcmp2pgm β€” reads a DICOM image and presentation state and renders a bitmap
  • drtdump β€” dumps a DICOM RT file and data set
  • dsr2html β€” renders a DICOM SR file and data set to HTML/XHTML
  • dsr2xml β€” converts a DICOM SR file and data set to XML
  • dsrdump β€” dumps a DICOM SR file and data set
  • dump2dcm β€” converts an ASCII dump to a DICOM file
  • img2dcm β€” converts standard image formats into DICOM format
  • json2dcm β€” converts a JSON document to a DICOM file or data set
  • xml2dcm β€” converts an XML document to a DICOM file or data set
  • xml2dsr β€” converts an XML document to a DICOM SR file

compression tools πŸ“

  • dcmcjpeg β€” encodes a DICOM file to JPEG transfer syntax
  • dcmcjpls β€” encodes a DICOM file to JPEG-LS transfer syntax
  • dcmcrle β€” encodes a DICOM file to RLE transfer syntax
  • dcmdjpeg β€” decodes a JPEG-compressed DICOM file
  • dcmdjpls β€” decodes a JPEG-LS compressed DICOM file
  • dcmdrle β€” decodes an RLE-compressed DICOM file

network tools 🌐

  • dcmprscp β€” DICOM basic grayscale print management SCP
  • dcmprscu β€” print spooler for presentation state viewer
  • dcmpsrcv β€” network receive for presentation state viewer
  • dcmpssnd β€” network send for presentation state viewer
  • dcmqrscp β€” DICOM image archive (central test node)
  • dcmrecv β€” simple DICOM storage SCP (receiver)
  • dcmsend β€” simple DICOM storage SCU (sender)
  • echoscu β€” DICOM verification (C-ECHO) SCU
  • findscu β€” DICOM query (C-FIND) SCU
  • getscu β€” DICOM retrieve (C-GET) SCU
  • movescu β€” DICOM retrieve (C-MOVE) SCU
  • storescp β€” DICOM storage (C-STORE) SCP
  • storescu β€” DICOM storage (C-STORE) SCU
  • termscu β€” DICOM termination SCU
  • wlmscpfs β€” DICOM Basic Worklist Management SCP (based on data files)

miscellaneous tools 🌸

  • dcmdspfn β€” exports standard display curves to a text file
  • dcmftest β€” tests if a file uses DICOM part 10 format
  • dcmicmp β€” compares DICOM images and computes difference metrics
  • dcmmkcrv β€” adds 2D curve data to an image
  • dcmmkdir β€” creates a DICOMDIR file
  • dcmmklut β€” creates DICOM look-up tables
  • dcmpschk β€” checking tool for presentation states
  • dcmpsmk β€” creates a DICOM grayscale softcopy presentation state
  • dcmpsprt β€” reads DICOM images and presentation states and renders a print job
  • dcmqridx β€” registers a DICOM image file in an image database index file
  • dcmqrti β€” Telnet Initiator
  • dcmquant β€” converts DICOM color images to palette color
  • dcmscale β€” scales DICOM images
  • dcmsign β€” signs and verifies DICOM files
  • dcod2lum β€” converts a hardcopy characteristic curve file to softcopy format
  • dconvlum β€” converts VeriLUM "CCx_xx.dat" files to DCMTK display files

aliases for common tools πŸ’«

  • convert β€” changes the encoding of a DICOM file (calls dcmconv)
  • dump β€” dumps the contents of a DICOM file (calls dcmdump)
  • echo β€” checks whether a DICOM server is accessible (calls echoscu)
  • find β€” queries a Q/R or Modality Worklist server (calls findscu)
  • get β€” downloads from a Q/R server using C-GET (calls getscu)
  • mkdir β€” creates a DICOMDIR file for storage media (calls dcmmkdir)
  • modify β€” modifies the contents of a DICOM file (calls dcmodify)
  • move β€” downloads from a Q/R server using C-MOVE (calls movescu)
  • send β€” transfers DICOM instances to a Storage server (calls dcmsend)
  • sign β€” creates and verifies digital signatures (calls dcmsign)
  • toimg β€” renders a DICOM image to another image format (calls dcm2img)
  • tojson β€” converts a DICOM file to JSON format (calls dcm2json)
  • toxml β€” converts a DICOM file to XML format (calls dcm2xml)

πŸ¦‹ EXAMPLES πŸ¦‹

dcmtk dcmdump file.dcm

This calls the dcmdump tool with the parameter 'file.dcm'. Slay.

dcmtk dcmodify -m "PatientName=Doe^John" file.dcm

This calls the dcmodify tool to change the patient’s name in 'file.dcm'. Iconic.


πŸ’œ SEE ALSO πŸ’œ

Go show these other pages some love too, bestie: dcm2img(1), dcm2json(1), dcm2xml(1), dcmcjpeg(1), dcmcjpls(1), dcmconv(1), dcmcrle(1), dcmdecap(1), dcmdjpeg(1), dcmdjpls(1), dcmdrle(1), dcmdspfn(1), dcmencap(1), dcmftest(1), dcmicmp(1), dcmmkcrv(1), dcmmkdir(1), dcmmklut(1), dcmodify(1), dcmp2pgm(1), dcmprscp(1), dcmprscu(1), dcmpschk(1), dcmpsmk(1), dcmpsprt(1), dcmpsrcv(1), dcmpssnd(1), dcmqridx(1), dcmqrscp(1), dcmqrti(1), dcmquant(1), dcmrecv(1), dcmscale(1), dcmsend(1), dcmsign(1), dcod2lum(1), dconvlum(1), drtdump(1), dsr2html(1), dsr2xml(1), dsrdump(1), dump2dcm(1), echoscu(1), findscu(1), getscu(1), img2dcm(1), json2dcm(1), movescu(1), storescp(1), storescu(1), termscu(1), wlmscpfs(1), xml2dcm(1), xml2dsr(1).


Copyright (C) 2025-2026 by OFFIS e.V., Escherweg 2, 26121 Oldenburg, Germany.

k bye bestie 🫢 β€” this page is from OFFIS DCMTK, Version 3.7.1, dated Sat Oct 17 2026 09:34:01.

πŸ“¦ where this page comes from