dicom-rs icon indicating copy to clipboard operation
dicom-rs copied to clipboard

Bulk image conversion of DICOM files to a directory

Open Enet4 opened this issue 2 years ago • 0 comments

Currently the tool only supports reading and converting a single file at a time.

  • The tool would need two new CLI options:
    • One to override the intended target image format through a separate option (e.g. -f or -t).
    • (-D or --out-dir) to specify the target directory to write all image files to.
  • Then, it should be possible to pass one or more files and/or directories, like in dicom-storescu. When doing this, the two options above are required.

Example of use:

mkdir -p outdir
dicom-toimage my/dicom/files/ -d outdir -t png

Enet4 avatar May 03 '23 15:05 Enet4