Jpeg2000 to Tiff images

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
talhaqaiser
Posts: 1
Joined: 2014-12-22T01:32:23-07:00
Authentication code: 6789

Jpeg2000 to Tiff images

Post by talhaqaiser »

Hi,

I am trying to convert a .jp2 (jpeg2000) image to tiff image by using below command

convert cmu.jp2 TIFF64:result.tiff
(I got the above command from this link viewtopic.php?t=21548 and having same kind of image)

but it gave me this error
convert.exe: Prevent buffer overflow (x1: 88832, y1: 157176) `OpenJP2' @ error/jp2.c/JP2ErrorHandler/193. convert.exe: Marker handler function failed to read the marker segment `OpenJP2' @ error/jp2.c/JP2ErrorHandler/193. convert.exe: unable to decode image file `H10-9536_A2H-E_1.jp2' @ error/jp2.c/ReadJP2Image/349. convert.exe: no images defined `TIFF64:result.tiff' @ error/convert.c/ConvertImageCommand/3210.

Any help would be highly appreciated.

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

Re: Jpeg2000 to Tiff images

Post by snibgo »

IM is having problems parsing the jp2 file. To help the developers, please copy the file to somewhere like dropbox.com and paste the link here.
snibgo's IM pages: im.snibgo.com
Post Reply