I have tried this:

convert Picture_287.jpg -define jp2:tilewidth=1024 -define
jp2:tileheight=1024 -define jp2:numrlvls=6 -define jp2:rate=1 -define
jp2:ilyrrates=r1[0.015625,0.01858,0.0221,0.025,0.03125,0.03716,0.04419,0.05,0.0625,0.075,0.088,0.1,0.125,0.15,0.18,0.21,0.25,0.3,0.35,0.4,0.5,0.6,0.7,0.84]
-define jp2:prg=rpcl Picture_287-imgmgklevls6.jp2

but get

warning: empty layer generated
warning: empty layer generated
warning: empty layer generated
warning: empty layer generated
warning: empty layer generated
warning: empty layer generated
warning: empty layer generated
warning: empty layer generated
warning: empty layer generated


On Tue, Jun 14, 2011 at 3:48 PM, Kris Bulman <kgbul...@upei.ca> wrote:

> Hi all,
>
> We use a set of kakadu switches that work well for jpeg2000 viewing using
> our Djatoka/OpenLayers viewer.
>
> The lossy jpeg2000 conversion line using kdu_compress is as follows:
>
> kdu_compress -i input.tif -o output.jp2 -rate 0.5 Clayers=1 Clevels=7
>> "Cprecincts={256,256},{256,256},{256,256},{128,128},{128,128},{64,64},{64,64},{32,32},{16,16}"
>> "Corder=RPCL" "ORGgen_plt=yes" "ORGtparts=R" "Cblk={64,64}" Cuse_sop=yes
>
>
> This was from a recommendation for IIPViewer found here:
> http://help.oldmapsonline.org/jpeg2000/
>
> We're looking for an equivalent set of parameters using imagemagick, but
> the command options don't all seem to line up. The available encoding
> options are located here:http://www.imagemagick.org/script/jp2.php
>
> Any help or input from someone with experience would be appreciated.
>
> Thanks,
> Kris Bulman
> Digitization, UPEI
>
_______________________________________________
Magick-users mailing list
Magick-users@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to