nroduit / weasis-dicom-tools

Basic dicom API
Other
34 stars 33 forks source link

feat: transcode dcm to output stream #25

Closed adrianog3 closed 1 year ago

adrianog3 commented 1 year ago

Hello Nicolas, I propose to overload the dcm2dcm method in Transcoder class to allow writing data directly to an OutputStream.

This parameter is very important for my use case, because I do the reading dcm files in a certain transfer syntax, and I send it through the http protocol using another transfer syntax, so generating files is costly and unnecessary.

nroduit commented 1 year ago

Thank you for this proposal which seems to me OK