Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Minimal command-line tool for decompressing DICOM files with compressed pixel data.
A command-line utility for decompressing DICOM files with compressed pixel data. Optionally, ff photometric
interpretation is one of YBR_FULL
, YBR_FULL_422
, PALETTE COLOR
pixel data will be transcoded to RBG
.
pip install dicom-decompress
This will install the terminal command dicom-decompress
in your environment.
Some transfer syntaxes need the c++ library GDCM installed. Install this by
conda install gdcm -c conda-forge
See here on how to install conda.
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 attempt transcoding for non
monochrome or rgb images add the --transcode
flag:
dicom-decompress --transcode in.dcm out.dcm
To decompress multiple files in-place run e.g.
find . -name "*.dcm" -exec echo {} \; -exec dicom-decompress --transcode {} {} \;
Update your .pypirc
file in your home directory to include
index-servers =
pypi
<your other servers...>
[pypi]
repository: https://upload.pypi.org/legacy/
username: <your pypi username>
...
python setup.py sdist bdist_wheel
(requires python3 + wheel package)pip install --force-reinstall dist/dicom_decompress-x.y.z-py3-none-any.whl
, (x.y.z is version, see
setup.py)pip install twine
twine check dist/*
twine upload dist/*
FAQs
Minimal command-line tool for decompressing DICOM files with compressed pixel data.
We found that dicom-decompress demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.