dcmtk(1)
π 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 formatdcm2jsonβ converts a DICOM file and data set to JSONdcm2xmlβ converts a DICOM file and data set to XMLdcmconvβ converts DICOM file encodingdcmdecapβ extracts a file from DICOM encapsulated storagedcmdumpβ dumps a DICOM file and data setdcmencapβ encapsulates a document into DICOM formatdcmodifyβ modifies DICOM filesdcmp2pgmβ reads a DICOM image and presentation state and renders a bitmapdrtdumpβ dumps a DICOM RT file and data setdsr2htmlβ renders a DICOM SR file and data set to HTML/XHTMLdsr2xmlβ converts a DICOM SR file and data set to XMLdsrdumpβ dumps a DICOM SR file and data setdump2dcmβ converts an ASCII dump to a DICOM fileimg2dcmβ converts standard image formats into DICOM formatjson2dcmβ converts a JSON document to a DICOM file or data setxml2dcmβ converts an XML document to a DICOM file or data setxml2dsrβ converts an XML document to a DICOM SR file
compression tools π
dcmcjpegβ encodes a DICOM file to JPEG transfer syntaxdcmcjplsβ encodes a DICOM file to JPEG-LS transfer syntaxdcmcrleβ encodes a DICOM file to RLE transfer syntaxdcmdjpegβ decodes a JPEG-compressed DICOM filedcmdjplsβ decodes a JPEG-LS compressed DICOM filedcmdrleβ decodes an RLE-compressed DICOM file
network tools π
dcmprscpβ DICOM basic grayscale print management SCPdcmprscuβ print spooler for presentation state viewerdcmpsrcvβ network receive for presentation state viewerdcmpssndβ network send for presentation state viewerdcmqrscpβ DICOM image archive (central test node)dcmrecvβ simple DICOM storage SCP (receiver)dcmsendβ simple DICOM storage SCU (sender)echoscuβ DICOM verification (C-ECHO) SCUfindscuβ DICOM query (C-FIND) SCUgetscuβ DICOM retrieve (C-GET) SCUmovescuβ DICOM retrieve (C-MOVE) SCUstorescpβ DICOM storage (C-STORE) SCPstorescuβ DICOM storage (C-STORE) SCUtermscuβ DICOM termination SCUwlmscpfsβ DICOM Basic Worklist Management SCP (based on data files)
miscellaneous tools πΈ
dcmdspfnβ exports standard display curves to a text filedcmftestβ tests if a file uses DICOM part 10 formatdcmicmpβ compares DICOM images and computes difference metricsdcmmkcrvβ adds 2D curve data to an imagedcmmkdirβ creates a DICOMDIR filedcmmklutβ creates DICOM look-up tablesdcmpschkβ checking tool for presentation statesdcmpsmkβ creates a DICOM grayscale softcopy presentation statedcmpsprtβ reads DICOM images and presentation states and renders a print jobdcmqridxβ registers a DICOM image file in an image database index filedcmqrtiβ Telnet Initiatordcmquantβ converts DICOM color images to palette colordcmscaleβ scales DICOM imagesdcmsignβ signs and verifies DICOM filesdcod2lumβ converts a hardcopy characteristic curve file to softcopy formatdconvlumβ converts VeriLUM"CCx_xx.dat"files to DCMTK display files
aliases for common tools π«
convertβ changes the encoding of a DICOM file (callsdcmconv)dumpβ dumps the contents of a DICOM file (callsdcmdump)echoβ checks whether a DICOM server is accessible (callsechoscu)findβ queries a Q/R or Modality Worklist server (callsfindscu)getβ downloads from a Q/R server using C-GET (callsgetscu)mkdirβ creates a DICOMDIR file for storage media (callsdcmmkdir)modifyβ modifies the contents of a DICOM file (callsdcmodify)moveβ downloads from a Q/R server using C-MOVE (callsmovescu)sendβ transfers DICOM instances to a Storage server (callsdcmsend)signβ creates and verifies digital signatures (callsdcmsign)toimgβ renders a DICOM image to another image format (callsdcm2img)tojsonβ converts a DICOM file to JSON format (callsdcm2json)toxmlβ converts a DICOM file to XML format (callsdcm2xml)
π¦ 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 π
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
- arch rolling: dcmtk 3.7.1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms