Hope you are doing well. here is my script:
import dicom2jpg
dicom_img_01 = "C:/Users/PACS/dir_a/dcm-2.dcm"
export_location1 = "C:/Users/PACS/dir_b"
# convert single DICOM file to jpg format
dicom2jpg.dicom2jpg(dicom_img_01,target_root=export_location1)
I use your script but following error appeared:
concurrent.futures.process.BrokenProcessPool: A process in the
process pool was terminated abruptly
while the future was running or pending.
Would you help to let me know how to use your code? any settings before using????