Hi all,
i have some problems converting the following DICOM file into Jpg image:
https://www.dropbox.com/s/ba948xflxq5nugo/0001TBWG
I have no problems to convert other Dicom images.
I am using ImageMagick-6.8.5-Q16 for Windows.
Thanks
Marco
problem converting DCIM image
Re: problem converting DCIM image
You must build ImageMagick with a lossless JPEG delegate library. Its supported in source but not with any of the ImageMagick binary distributions.
Re: problem converting DCIM image
Hi magick,
sorry for the delay, i don't know how to build imagemagick with this option.
Thanks
Marco
sorry for the delay, i don't know how to build imagemagick with this option.
Thanks
Marco
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: problem converting DCIM image
I think you need to install the Jasper (JP2000) delegate library and then compile IM from source. I do not use Windows, so I cannot help much in this regard.
Re: problem converting DCIM image
IM will use the JPEG decoder for this file, not the JPEG2000 decoder, so Jasper won't help. You need an IJG-libjpeg-compatible library that supports lossless JPEG.
An outline of what this might involve:
An outline of what this might involve:
- Apply this patch: ljpeg-6b.tar.gz
- to version 6b of libjpeg: jpegsrc.v6b.tar.gz
- and use that as the "jpeg" "delegate" when building ImageMagick.