OS Manuals

/usr/bin/dsr2html

DCMTK is a collection of libraries and applications implementing large parts the DICOM standard.

From dcmtk 3.7.1-r0 (os), captured 2026-11-05 by running dsr2html --help (exit 0). permalink

$dcmtk: dsr2html v3.7.1 2026-10-15 $

dsr2html: Render DICOM SR file and data set to HTML/XHTML
usage: dsr2html [options] dsrfile-in [htmlfile-out]

parameters:
  dsrfile-in                     DICOM SR input filename to be rendered
                                 ("-" for stdin)
  htmlfile-out                   HTML/XHTML output filename (default: stdout)

general options:
  -h     --help                  print this help text and exit
         --version               print version information and exit
         --arguments             print expanded command line arguments
  -q     --quiet                 quiet mode, print no warnings and errors
  -v     --verbose               verbose mode, print processing details
  -d     --debug                 debug mode, print debug information
  -ll    --log-level             [l]evel: string constant
                                 (fatal, error, warn, info, debug, trace)
                                 use level l for the logger
  -lc    --log-config            [f]ilename: string
                                 use config file f for the logger
input options:
  input file format:
    +f   --read-file             read file format or data set (default)
    +fo  --read-file-only        read file format only
    -f   --read-dataset          read data set without file meta information
  input transfer syntax:
    -t=  --read-xfer-auto        use TS recognition (default)
    -td  --read-xfer-detect      ignore TS specified in the file meta header
    -te  --read-xfer-little      read with explicit VR little endian TS
    -tb  --read-xfer-big         read with explicit VR big endian TS
    -ti  --read-xfer-implicit    read with implicit VR little endian TS
processing options:
  additional information:
    -Ip  --processing-details    show currently processed content item
  error handling:
    -Er  --unknown-relationship  accept unknown/missing relationship type
    -Ev  --invalid-item-value    accept invalid content item value
                                 (e.g. violation of VR or VM definition)
    -Ec  --ignore-constraints    ignore relationship content constraints
    -Ee  --ignore-item-errors    do not abort on content item errors, just warn
                                 (e.g. missing value type specific attributes)
    -Ei  --skip-invalid-items    skip invalid content items (incl. sub-tree)
    -Dv  --disable-vr-checker    disable check for VR-conformant string values
  character set:
    +Cr  --charset-require       require declaration of ext. charset (default)
    +Ca  --charset-assume        [c]harset: string
                                 assume charset c if no ext. charset declared
         --charset-check-all     check all data elements with string values
                                 (default: only PN, LO, LT, SH, ST, UC and UT)
    +U8  --convert-to-utf8       convert all element values that are affected
                                 by Specific Character Set (0008,0005) to UTF-8
output options:
  HTML/XHTML compatibility:
    +H3  --html-3.2              use only HTML version 3.2 compatible features
    +H4  --html-4.0              allow all HTML version 4.01 features (default)
    +X1  --xhtml-1.1             comply with XHTML version 1.1 specification
    +Hd  --add-document-type     add reference to SGML document type definition
  cascading style sheet (CSS), not with HTML 3.2:
    +Sr  --css-reference         URL: string
                                 add reference to specified CSS to document
    +Sf  --css-file              [f]ilename: string
                                 embed content of specified CSS into document
  general rendering:
    +Ri  --expand-inline         expand short content items inline (default)
    -Ri  --never-expand-inline   never expand content items inline
    +Ra  --always-expand-inline  always expand content items inline
    +Rd  --render-full-data      render full data of content items
    +Rt  --section-title-inline  render section titles inline, not separately
    +Rh  --hyperlink-url-prefix  [p]refix: string
                                 use URL prefix p for hyperlinks to composite
                                 objects (default: http://localhost/dicom.cgi)
  document rendering:
    +Dt  --document-type-title   use document type as document title (default)
    +Dp  --patient-info-title    use patient information as document title
    -Dh  --no-document-header    do not render general document information
  code rendering:
    +Ci  --render-inline-codes   render codes in continuous text blocks
    +Cn  --concept-name-codes    render code of concept names
    +Cu  --numeric-unit-codes    render code of numeric measurement units
    +Cv  --code-value-unit       use code value as measurement unit (default)
    +Cm  --code-meaning-unit     use code meaning as measurement unit
    +Cc  --render-all-codes      render all codes (implies +Ci, +Cn and +Cu)
    +Ct  --code-details-tooltip  render code details as a tooltip (implies +Cc)
Options (24)
OptionDescriptionSource
-h--help print this help text and exithelp
--versionprint version information and exithelp
--argumentsprint expanded command line argumentshelp
-q--quiet quiet mode, print no warnings and errorshelp
-v--verbose verbose mode, print processing detailshelp
-d--debug debug mode, print debug informationhelp
-ll--log-level [l]evel: string constant (fatal, error, warn, info, debug, trace) use level l for the loggerhelp
-lc--log-config [f]ilename: string use config file f for the loggerhelp
-f--read-dataset read data set without file meta informationhelp
-t--read-xfer-auto use TS recognition (default)help
-td--read-xfer-detect ignore TS specified in the file meta headerhelp
-te--read-xfer-little read with explicit VR little endian TShelp
-tb--read-xfer-big read with explicit VR big endian TShelp
-ti--read-xfer-implicit read with implicit VR little endian TShelp
-Ip--processing-details show currently processed content itemhelp
-Er--unknown-relationship accept unknown/missing relationship typehelp
-Ev--invalid-item-value accept invalid content item value (e.g. violation of VR or VM definition)help
-Ec--ignore-constraints ignore relationship content constraintshelp
-Ee--ignore-item-errors do not abort on content item errors, just warn (e.g. missing value type specific attributes)help
-Ei--skip-invalid-items skip invalid content items (incl.help
-Dv--disable-vr-checker disable check for VR-conformant string valueshelp
--charset-check-allcheck all data elements with string values (default: only PN, LO, LT, SH, ST, UC and UT)help
-Ri--never-expand-inline never expand content items inlinehelp
-Dh--no-document-header do not render general document informationhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.