I spent a little time looking at Invesalius, 3DSlicer, and RadiAnt, which use "DICOM."
There are a couple of programs called "img2dcm," code anyway, to convert PNG and/or JPEG to DICOM,
but a person would have to be a software expert to use it.(?) I'll have to try the Python line.