| Crates.io | dicom-toimage |
| lib.rs | dicom-toimage |
| version | 0.8.1 |
| created_at | 2022-04-28 16:08:25.855702+00 |
| updated_at | 2025-07-27 10:57:06.234194+00 |
| description | A CLI tool for converting DICOM files into general purpose image files |
| homepage | |
| repository | https://github.com/Enet4/dicom-rs |
| max_upload_size | |
| id | 576883 |
| size | 71,030 |
toimageA 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 [OPTIONS] <FILES>...
Arguments:
<FILES>... Paths to the DICOM files (or directories) to convert
Options:
-r, --recursive Parse directory recursively
-o, --out <OUTPUT> Path to the output image, including file extension (replaces input extension with `.png` by default)
-d, --outdir <OUTDIR> Path to the output directory in bulk conversion mode, conflicts with `output`
-e, --ext <EXT> Extension when converting multiple files (default is to replace input extension with `.png`)
-F, --frame <FRAME_NUMBER> Frame number (0-indexed) [default: 0]
--8bit Force output bit depth to 8 bits per sample
--16bit Force output bit depth to 16 bits per sample
--unwrap Output the raw pixel data instead of decoding it
--fail-first Stop on the first failed conversion
-v, --verbose Print more information about the image and the output file
-h, --help Print help
-V, --version Print version