dicom2 is a free command-line driven program which allows you to convert medical images and DICOM files to various other formats, while optionally performing some rudimentary image processing tasks. dicom2 is a long-standing, stable and reliable program and one of the longest-available of all free DICOM programs. Excellent site with thorough documentation and test data.