Page 1 of 1

Convert .dcm to .jpg

Posted: 2015-04-24T17:04:24-07:00
by Road Warrior
Using the command line to convert a DICOM (.dcm) image to jpg. On some dicom files I get the following error message:
convert.exe: improper image header 'image.dcm @ error/dcm.c/ReadDCMImage/3144.
The file image.dcm can be viewed with a DICOM viewer and the header can be read using exiftool.exe. I cannot determine what the error actually is since all the attributes appear to be normal.

Re: Convert .dcm to .jpg

Posted: 2015-04-24T17:28:38-07:00
by snibgo
For anyone to look at the problem, I suggest you make available a sample file. Put it on dropbox.com or similar and post the link here.