Error while converting DICOM Files

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
BlackJaguar
Posts: 2
Joined: 2017-09-27T05:26:21-07:00
Authentication code: 1151

Error while converting DICOM Files

Post by BlackJaguar » 2017-09-27T05:39:08-07:00

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

snibgo
Posts: 9402
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Error while converting DICOM Files

Post by snibgo » 2017-09-27T05:45:08-07:00

I suggest you link to an example input. Please also give the command you used.
snibgo's IM pages: im.snibgo.com

BlackJaguar
Posts: 2
Joined: 2017-09-27T05:26:21-07:00
Authentication code: 1151

Re: Error while converting DICOM Files

Post by BlackJaguar » 2017-09-27T06:07:14-07:00

magick VL5_J2KR.dcm example.jpg

snibgo
Posts: 9402
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Error while converting DICOM Files

Post by snibgo » 2017-09-27T06:33:46-07:00

And a link to VL5_J2KR.dcm ?
snibgo's IM pages: im.snibgo.com

Post Reply