0.0.4 • Published 5 months ago

dcmjs-stream v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

dcmjs-stream

Stream version for reading DICOM files of dcmjs.

Usage

import { DicomMessageAsync } from "dcmjs-stream";
import { readFrame } from "dcmjs-stream/readFrame";

const dataset = await DicomMessageAsync.readFile("path/to/file.dcm", {
    untilTag: "7FE00010"
});

// Read the 136th frame
const frame = await readFrame(dataset.bufferStream, 136);

Memory Benchmark

Below is the memory benchmark result of reading a 700MB DICOM file.

Memory Benchmark Result

0.0.3

5 months ago

0.0.4

5 months ago

0.0.2

7 months ago

0.0.1

7 months ago

0.0.0

7 months ago