Our equipment is producing DCM-files wich are not compatible with common software.
Irfan viewer with plugin can show only the first image, Image Magick 7.0.7-28 says "improper image header `Test.DCM' @ error/dcm.c/ReadDCMImage/3154"
I've uploaded the sample to Google Drive https://drive.google.com/file/d/119_GRi ... sp=sharing
Dicom images problem
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Dicom images problem
I think you should discuss this with the producer of the equipment that makes the DCM files. If neither Irfan viewer nor ImageMagick can read it, then something is wrong with the file.
Re: Dicom images problem
The image appears to be OK which suggests a deficiency in the ImageMagick DCM reader. We'll investigate and see if we can read the image,
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Dicom images problem
Photoshop won't open it either. It says it is missing a DICOM attribute.
Re: Dicom images problem
but inside by a naked eye it seems to have DICOM-like parts. And the "GE Medical Systems/DICOM Part 10 file" label in header
Another file, which I've seen before, doesn't contain such label, because of some postprocessing, I suppose.
Another file, which I've seen before, doesn't contain such label, because of some postprocessing, I suppose.
Re: Dicom images problem
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick within a day or two. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ within a day or two.
Re: Dicom images problem
Awesome work! Downloaded the fresh build and it works like a magick
But there is one more issue: the original test file contains 6 images, but ImageMagick identifies, converts or viewes only the first one.
But there is one more issue: the original test file contains 6 images, but ImageMagick identifies, converts or viewes only the first one.