dcm-dump 0.1.1

A minimal Rust crate + CLI to dump DICOM tags byte-by-byte
Documentation
  • Coverage
  • 3.85%
    1 out of 26 items documented0 out of 16 items with examples
  • Size
  • Source code size: 11.59 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.49 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • angsot3/dcm-dump
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • angsot3

dcm-dump

dcm-dump is a minimal Rust toolkit for inspecting DICOM files without any external dependencies.

Current capabilities:

  • read the 128-byte preamble and four-byte DICM prefix
  • detect the transfer syntax UID from the File Meta Information group

Near-term goals:

  • parse individual data elements (starting with Explicit VR Little Endian)
  • validate common tags against the DICOM dictionary
  • surface human-readable previews for textual values and concise hex dumps for binary payloads
  • flag malformed elements (unexpected lengths, missing delimiters, etc.)

Longer-term stretch ideas:

  • graceful handling of sequences and undefined-length items
  • configurable output formats (plain text, JSON, or CSV summaries)
  • optional heuristics to spot anonymisation issues or missing required attributes

This crate is intended both as a simple CLI and as a reusable library module, so everything is kept dependency-free and straightforward to read.