DCM Sample Files
DICOM (.dcm) files are the standard container for medical imaging data, combining pixel payloads with patient/study/series metadata and transfer syntax details. Use sample .dcm files to validate medical image viewers, metadata extraction, anonymization pipelines, and modality compatibility across CT, MR, and secondary-capture workflows.
DCM Sample Files — Download
DCM Testing Workflows
DICOM Slice Preview and Review
Open Format DCMModality and Secondary Capture Validation
Open Format DCMDCM Format Comparisons
DCM File FAQ
Checksum Verification
Use checksums to confirm file integrity after download.
shasum -a 256 your_file_name_here
# Compare output with SHA256 values listed above.
Where is the machine-readable manifest?
Use the manifest when you need stable names, SHA256 values, and URLs for automation.
Use in code — curl, Python, Node, wget
Copy any snippet directly into scripts, test suites, or CI pipelines. All URLs are stable and publicly accessible with no auth required.
# Download dcm_ct_slice_sample.dcm
curl -L -o dcm_ct_slice_sample.dcm \
https://samplefile.com/samples/download/image/dcm/dcm_ct_slice_sample.dcm/
# Or fetch a random DCM file
curl -s "https://samplefile.com/samples/api/random?format=dcm" | jq -r '.download_url'
# Download dcm_ct_slice_sample.dcm
wget -O dcm_ct_slice_sample.dcm \
https://samplefile.com/samples/download/image/dcm/dcm_ct_slice_sample.dcm/
import requests
# Download a specific file
url = "https://samplefile.com/samples/download/image/dcm/dcm_ct_slice_sample.dcm/"
resp = requests.get(url)
with open("dcm_ct_slice_sample.dcm", "wb") as f:
f.write(resp.content)
# Or fetch a random DCM file via API
meta = requests.get("https://samplefile.com/samples/api/random?format=dcm").json()
resp = requests.get(meta["download_url"])
with open(meta["name"], "wb") as f:
f.write(resp.content)
// Download a specific file
const fs = require("fs");
const https = require("https");
const url = "https://samplefile.com/samples/download/image/dcm/dcm_ct_slice_sample.dcm/";
https.get(url, (res) => {
res.pipe(fs.createWriteStream("dcm_ct_slice_sample.dcm"));
});
// Or fetch a random DCM via the API
const meta = await fetch("https://samplefile.com/samples/api/random?format=dcm").then(r => r.json());
const file = await fetch(meta.download_url);
// use file.arrayBuffer(), file.body, etc.
# Random DCM file (JSON response)
GET https://samplefile.com/samples/api/random?format=dcm
# All DCM files
GET https://samplefile.com/samples/api/files?format=dcm
# Manifest with SHA256 checksums
GET https://samplefile.com/samples/image/dcm/manifest.json
# Response includes: name, size_bytes, mime_type, sha256, download_url
Validation Methodology
- Validate MIME sniffing against extension and file signatures.
- Test transparency, color profile, and resize pipelines.
- Benchmark decode speed and memory use for larger dimensions.
Use the curated DCM matrix to choose the right clean, edge-case, and broken fixtures for this format.
Open Matrix