pydicom
Process DICOM Files with pydicom
DICOM workflows require careful handling of metadata, pixels, compression, and patient identifiers. This skill provides pydicom guidance and local utilities for common imaging tasks.
Stop for confirmation before installing.
Review the plan and obtain explicit user consent before changing files.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "pydicom" from https://skillstore.io/skills/davila7-pydicom.md and its manifest at https://skillstore.io/api/skills/davila7-pydicom/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "pydicom". Inspect study.dcm and summarize its imaging metadata.
Expected outcome:
- Modality: CT
- Image size: 512 by 512
- Transfer syntax: Explicit VR Little Endian
- Windowing metadata is available
Using "pydicom". Convert frame 5 of multiframe.dcm to PNG with windowing.
Expected outcome:
Created frame5.png from frame 5 after applying the available VOI LUT. The source pixel data was not modified.
Using "pydicom". Assess whether anonymized.dcm is ready for external sharing.
Expected outcome:
Not yet approved for sharing. Validate private tags, nested sequences, UID remapping, and burned-in pixel identifiers with an authorized de-identification process.
Security Audit
High RiskAll 71 static alerts are false positives from Markdown formatting, documentation links, intended local file output, and DICOM metadata handling. However, the bundled anonymizer only edits selected top-level attributes and may leave PHI in private tags, sequences, or pixel data.
Confirmed security concerns (1)
Risk Factors
๐ Filesystem access (4)
โ๏ธ External commands (50)
๐ Network access (5)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/davila7-pydicom/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/davila7-pydicom?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/davila7-pydicom?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/davila7-pydicom/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/davila7-pydicom.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
davila7. (2026). pydicom security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/davila7-pydicom/audits/9BibTeX citation
@techreport{davila7-davila7-pydicom-2026,
author = {davila7},
title = {pydicom security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/davila7-pydicom/audits/9},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "pydicom security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "davila7"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/davila7-pydicom/audits/9"
identifiers:
- type: other
value: "skillstore:davila7-pydicom:audit:9"
description: "Skillstore immutable audit report identifier"
Compare variants
2 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
k-dense-ai-pydicom
2026-08-21
davila7-pydicom
2026-08-21
Skillstore Score
Why this score Evidence Confidence: MediumWhat You Can Build
Prepare research images
Inspect study metadata, convert selected frames, and identify de-identification checks before approved research use.
Build imaging pipelines
Read DICOM datasets, normalize pixels, preserve spatial metadata, and handle transfer syntaxes in Python.
Review clinical metadata
Extract selected study, series, and image attributes into readable local reports.
Try These Prompts
Inspect [file path] and summarize patient, study, series, image, and transfer syntax fields. Do not modify the file.
Convert [DICOM file] to [PNG, JPEG, or TIFF]. Apply VOI LUT windowing when available and report the selected frame.
Review [DICOM file or dataset description] for PHI risks. Propose a PS3.15-based de-identification plan and validation checklist before sharing.
Design a pydicom pipeline for [series directory]. Sort slices, validate geometry, handle compression, preserve spacing, and report inconsistent metadata.
Best Practices
- Work on copies and verify required attributes before reading or modifying them.
- Preserve transfer syntax, UIDs, spatial metadata, and pixel representation unless the workflow intentionally changes them.
- Validate de-identification with an approved profile and independent review before sharing medical data.
Avoid
- Do not treat removal of a short patient-tag list as complete de-identification.
- Do not discard spacing, orientation, frame, or transfer syntax metadata during conversion.
- Do not assume every compressed DICOM file can be decoded without optional handlers.
Frequently Asked Questions
Can this skill read compressed DICOM files?
Does the image converter preserve diagnostic quality?
Is the bundled anonymizer sufficient for sharing patient data?
Can it process multi-frame DICOM files?
Can it connect to PACS or DICOMweb?
What metadata formats can it export?
Developer Details
Author
davila7License
MIT
Skillstore revision
r2
Version notice
The author did not declare a version.
Ref
c43861a65bb95efcae259cd161c9d6f4dc7eec6f
Maintenance freshness
7/24/2026
Usage
7 downloads ยท 197 views
File structure
๐ references/
๐ common_tags.md
๐ transfer_syntaxes.md
๐ scripts/
๐ anonymize_dicom.py
๐ dicom_to_image.py
๐ extract_metadata.py
๐ SKILL.md