DCM sample file
dcm_secondary_capture_rgb_sample.dcm
1.4 KB
application/dicom
SHA256 verified
File details
Filename
dcm_secondary_capture_rgb_sample.dcmSize1.4 KB (1444 bytes)
MIME type
application/dicomExtension
.dcmSHA256
fd4b944846665e82ff27ee9f9bec91a21a2de26005f532e82dffc8e848c3c7a0Download commands
Use in scripts and tests
curl -L -o dcm_secondary_capture_rgb_sample.dcm \
https://samplefile.com/samples/download/image/dcm/dcm_secondary_capture_rgb_sample.dcm/
wget -O dcm_secondary_capture_rgb_sample.dcm \
https://samplefile.com/samples/download/image/dcm/dcm_secondary_capture_rgb_sample.dcm/
import requests
url = "https://samplefile.com/samples/download/image/dcm/dcm_secondary_capture_rgb_sample.dcm/"
resp = requests.get(url)
with open("dcm_secondary_capture_rgb_sample.dcm", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/image/dcm/dcm_secondary_capture_rgb_sample.dcm/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("dcm_secondary_capture_rgb_sample.dcm", buf);
# Download and verify SHA256
curl -L -o dcm_secondary_capture_rgb_sample.dcm https://samplefile.com/samples/download/image/dcm/dcm_secondary_capture_rgb_sample.dcm/
echo "fd4b944846665e82ff27ee9f9bec91a21a2de26005f532e82dffc8e848c3c7a0 dcm_secondary_capture_rgb_sample.dcm" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/image/dcm/dcm_secondary_capture_rgb_sample.dcm/").content
assert hashlib.sha256(data).hexdigest() == "fd4b944846665e82ff27ee9f9bec91a21a2de26005f532e82dffc8e848c3c7a0"
More DCM files
Other DCM Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
dcm_ct_slice_sample.dcm |
38.3 KB | 3dd31e5cc835b3f2… |
Download |
dcm_mr_slice_sample.dcm |
9.6 KB | 3f27d1c22f1a66e8… |
Download |
Learn more