Skip to main content

Minimal command-line tool for decompressing DICOM files with compressed pixel data.

Project description

dicom-decompress

A command-line utility for decompressing DICOM files with compressed pixel data

Installation

pip install dicom-decompress

This will install the terminal command dicom-decompress in your environment.

To decompress a single file run

dicom-decompress in.dcm out.dcm

where in.dcm is the file to decompress and out.dcm is the decompressed target file.

To decompress multiple files in-place run e.g.

find . -name "*.dcm" -exec echo {} \; -exec dicom-decompress {} {} \;

Dependencies

Development

  • To build: python setup.py sdist bdist_wheel (requires python3 + wheel package)
  • To install: pip install --force-reinstall dist/dicom_decompress-x.y.z-py3-none-any.whl, (x.y.z is version, see setup.py)
  • To publish
    • Install twine: pip install twine
    • Build package (cf. above)
    • Make sure it passes the twine check: twine check dist/*
    • Publish: twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dicom-decompress-0.0.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dicom_decompress-0.0.3-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file dicom-decompress-0.0.3.tar.gz.

File metadata

  • Download URL: dicom-decompress-0.0.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.5

File hashes

Hashes for dicom-decompress-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6a1327189c53995d4a989ea452823d660b3b252f527004c3afc502fd4f1b0359
MD5 74383aa48ccb072497082aaf854ba6e7
BLAKE2b-256 f0519f3602b3e4c0f2bfca28e9682c6243877ed4e3aafcdb5e2fc602bada259b

See more details on using hashes here.

File details

Details for the file dicom_decompress-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: dicom_decompress-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.5

File hashes

Hashes for dicom_decompress-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 989132a266f382bc22c17bcf86cec9944a032483705a0fc62116fedcf11512f8
MD5 49f2dd59b81ffa41614bd0f57076592b
BLAKE2b-256 fb698efccf332694f14000af2ea12807064d9b68c2528e9a3fc57a0cc952fa87

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page