chafey / dicomp10-to-dicomweb-js

Code to convert from a dicomp10 file to dicomweb format (json metadata + frames + bulkdata)
MIT License
19 stars 3 forks source link

Make the parser use a stream parser so it doesn't run out of memory on large files #2

Closed wayfarer3130 closed 2 years ago

wayfarer3130 commented 2 years ago

The parser for reading the DICOM should be able to read chunks rather than handling everything at once.

wayfarer3130 commented 2 years ago

This is implemented and committed. Tested on a 320,000 image microscopy. It isn't fully streaming yet, but does break things up into parts.