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

mkdicomp10 command to convert to binary DICOM #11

Open wayfarer3130 opened 2 years ago

wayfarer3130 commented 2 years ago

There should be a mkdicomp10 command which takes a study UID (or study/series/sop) and convert the data back into DICOM part 10. This allows the web service to respond to requests for binary DICOM.
The java implementation of this relies on the URL for the DICOM object to contain position/offset values, so that the raw image data can be read without needing to parse it, although gzip compressed files still require a decompression step. Those indexes also allow streaming non-multipart responses if desired.