#image-conversion #dicom #image #command-line-tool #cli

app dicom-toimage

A CLI tool for converting DICOM files into general purpose image files

8 releases

0.7.0 Apr 25, 2024
0.2.2 Oct 31, 2023
0.2.1 Aug 26, 2023
0.2.0 Jul 23, 2023
0.1.0 Apr 28, 2022

#2571 in Command line utilities

Download history 6/week @ 2024-02-16 9/week @ 2024-02-23 1/week @ 2024-03-01 10/week @ 2024-03-08 3/week @ 2024-03-15 29/week @ 2024-03-29 9/week @ 2024-04-05 80/week @ 2024-04-19 46/week @ 2024-04-26 2/week @ 2024-05-03

128 downloads per month

MIT/Apache

2.5MB
36K SLoC

DICOM-rs toimage

CratesIO Documentation

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.

Usage

    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

Dependencies

~30MB
~248K SLoC