Hi Community,
I am facing problems with dcm files. I want to convert into JPG.
Some of them has jpeg 2000 lossless image attached and i think that's the problem because some others dcm which contains 'default' jpeg, im be able to convert them.
Im using win7 x64 - Version: ImageMagick 7.0.7-4 Q16 x64 2017-09-23
32 LT-LT (0x0020,0x4000) Image Comments: JPEG 2000 reversible (lossless)
magick: Tile part length size inconsistent with stream length
`OpenJP2' @ error/jp2.c/JP2ErrorHandler/193.
magick: unable to decode image file `C:/Users/ogtmorei/AppData/Local/Temp/magick-3816SeyMh_9fgVwW' @ error/jp2.c/ReadJP2
Could someone help me please?
Cheers
Error while converting DICOM Files
-
- Posts: 2
- Joined: 2017-09-27T05:26:21-07:00
- Authentication code: 1151
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Error while converting DICOM Files
I suggest you link to an example input. Please also give the command you used.
snibgo's IM pages: im.snibgo.com
-
- Posts: 2
- Joined: 2017-09-27T05:26:21-07:00
- Authentication code: 1151
Re: Error while converting DICOM Files
magick VL5_J2KR.dcm example.jpg
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Error while converting DICOM Files
And a link to VL5_J2KR.dcm ?
snibgo's IM pages: im.snibgo.com
Re: Error while converting DICOM Files
Hi, I'm having the same problem with a DICOM file containing 16 lossless JPEG frames.
I donwloaded ImageMagick source and build them from scratch. Following some older post some say to download it and "build ImageMagick with the lossless patch to the JPEG delegate library".
Following instruction I compiled the "configure" module, than run it, but find no way to ask for lossless JPEG patch.
The compiled ImageMagick works, but offers no support for that kind of files.
Any idea?
I donwloaded ImageMagick source and build them from scratch. Following some older post some say to download it and "build ImageMagick with the lossless patch to the JPEG delegate library".
Following instruction I compiled the "configure" module, than run it, but find no way to ask for lossless JPEG patch.
The compiled ImageMagick works, but offers no support for that kind of files.
Any idea?