dcmp2pgm --version (return code: 0)
$dcmtk: dcmp2pgm v3.6.2 2017-07-14 $
dcmp2pgm: Read DICOM image and presentation state and render bitmap
Host type: Debian
Character encoding: US-ASCII
External libraries used:
- ZLIB, Version 1.2.11
dcmp2pgm --help (return code: 0)
$dcmtk: dcmp2pgm v3.6.2 2017-07-14 $
dcmp2pgm: Read DICOM image and presentation state and render bitmap
usage: dcmp2pgm [options] dcmfile-in [bitmap-out]
parameters:
dcmfile-in input DICOM image
bitmap-out output DICOM image or PGM bitmap
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
processing options:
-p --pstate [f]ilename: string
process using presentation state file
-c --config [f]ilename: string
process using settings from configuration file
-f --frame [f]rame: integer
process using image frame f (default: 1)
output format:
-D --pgm save image as PGM (default)
+D --dicom save image as DICOM secondary capture
output options:
+S --save-pstate [f]ilename: string
save presentation state to file