Python + convert DCM to png code example
Example 1: convert x-ray dicom to png
magick mogrify -format png *.dcm
Example 2: convert x-ray dicom to png
mogrify -format png *.dcm
magick mogrify -format png *.dcm
mogrify -format png *.dcm