Home

Awesome

DICOM Dump for Visual Studio Code

A Visual Studio Code (vscode) extension that dumps DICOM tag contents. DICOM is a standard file format for medical images.

Usage

Screenshot

Open a context menu on a DICOM file and select "DICOM: Dump DICOM tags".

Features

Configuration

Troubleshooting

My DICOM file does not load at all!: Can you open that file with dicom-parser's online demo? If not, probably your DICOM file is not standard-compliant, and there is little I can do. Some DICOM implementations are tolerant enough to open mildly broken files. Just because you can view your file with <insert your favorite viewer here> does not mean the file is not corrupted. If you could open the file with the demo above and are still getting an error from this extension, feel free to report as a bug.

The "Dump DICOM tags" context menu doesn't show up!: By default, the menus will be displayed only when the file extension is *.dcm or *.dicom. Please check the dicom.alwaysShowMenu option.

Patient/institution names are garbled!: Currently the character encoding support is limited and buggy, and it's partially due to the fact that DICOM uses rare character encodings not supported by iconv-lite. Also note that some DICOM implementations store multibyte strings with a totally wrong encoding (e.g., Japanse SJIS). I'd rather not support all sorts of malformed files "in the wild", but reasonable suggestions and PRs are welcome.

Known Issues / Limitations

USE AT YOUR OWN RISK. DO NOT USE THIS FOR CLINICAL PURPOSES.

Bugs / PRs

Plase use GitHub's issue system.

Acknowledgement

This extension is based on the following awesome packages.