A command line utility for converting DICOM image files into general purpose image files (e.g. PNG).
This tool is part of the DICOM-rs project.
dicom-toimage [FLAGS] [OPTIONS] <file>
FLAGS:
--16bit Force output bit depth to 16 bits per sample
--8bit Force output bit depth to 8 bits per sample
-h, --help Prints help information
-V, --version Prints version information
-v, --verbose Print more information about the image and the output file
OPTIONS:
-F, --frame <frame-number> Frame number (0-indexed) [default: 0]
-o, --out <output> Path to the output image (default is to replace input extension with `.png`)
ARGS:
<file> Path to the DICOM file to convert