Convert large Tiff to Jp2 fails

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
Posts: 1
Joined: 2013-03-20T08:54:22-07:00
Authentication code: 6789

Convert large Tiff to Jp2 fails

Post by anagar »

Dear Sir,

I have successfully used the convert command to convert a compress tif file to .jp2, but due to some requirement we need to use raw tiff images which are around the size of 13mb each and convert them to .Jp2. When I use the convert command to do the same to my surprise it fails with the error :-
convert.exe: unable to create image `aaa.jp2' @ error/jp2.c/WriteJP2Image/937.

the command I am using to convert is :-
convert Tst-10001.tif jp2:aaa.jp2

or I have even used :-
convert -limit memory 50mb Tst-10001.tif jp2:aaa.jp2

But none of them worked. I need to generate Jp2 with following parameters:-
convert sample.tif -define jp2:mode=integer -define jp2:numrlvls=8 -define jp2:prg=rpcl -define jp2:lazy con_sample.jp2

Can you please help.
Post Reply