I'm trying to look into the capabilities of JPEG2000 file format and experiencing file conversion challenges from TIF format. It seems that sometimes the converted images contain dark rectangles spotted in various parts in an image. Most of the time this happens in the very bright parts in an image. Here is the command I run:
Code: Select all
convert input.jpg -define numrlvls=7 -define jp2:tilewidth=256 -define jp2:tileheight=256 -define jp2:rate=0.02348 -define jp2:prg=rpcl -define jp2:mode=int -define jp2:prcwidth=256 -define jp2:prcheight=256 -define jp2:cblkwidth=64 -define jp2:cblkheight=64 -define jp2:sop output.jp2
thanks,