Sunday, June 12, 2011

Convert DICOM medical images to png or jpg

We received our baby scans on CD in DICOM format which can be viewed in the viewer on disk. I wanted to convert these to a more popular format - either png (lossless) or jpg (lossy).

I used ImageMagick through PowerShell to convert all the images and save them into a separate folder:

mogrify -format png *; md Converted; move *.png Converted


Post a Comment