JuliaHealth / DICOM.jl

Julia package for reading and writing DICOM (Digital Imaging and Communications in Medicine) files
MIT License
56 stars 21 forks source link

Feature request: write DICOM from scratch #86

Open JakobAsslaender opened 1 year ago

JakobAsslaender commented 1 year ago

Hi everyone,

first of all thanks for writing this package! My understanding is that the current package is not really capable of writing a DICOM from scratch, but instead one has to use a template DICOM and recycle the header -- at risk of wrong header fields. I was wondering if there are any plans for implementing the latter, e.g., similar to the dicomwrite function in MATLAB.

renatobellotti commented 1 year ago

Isn't that already possible? I have not used this library yet, but it should be possible to build a DICOMData object from scratch. Then you "just" need to set the correct properties.