ImageMagick JPEG-2000 Image Format
@@ -255,24 +188,24 @@Use this command:
- $ convert wizard.png -define jp2:cblkwidth=64 -define jp2:cblkheight=32 \ $ convert wizard.png -define jp2:cblkwidth=64 -define jp2:cblkheight=32 \ Here we convert a giga-byte TIFF image to JPEG-2000 with a reduced memory footprint: $ convert frame-00038.tif -define jp2:tilewidth=256 -define jp2:tileheight=256 frame-00038.jp2 $ convert frame-00038.tif -define jp2:tilewidth=256 -define jp2:tileheight=256 frame-00038.jp2 Here is a lossy example using the full gamut of JP2 options: $ convert input.tif -define numrlvls=7 -define jp2:tilewidth=1024
--define jp2:tileheight=1024 \ $ convert input.tif -define numrlvls=7 -define jp2:tilewidth=1024
+-define jp2:tileheight=1024 \ Here is the same example with lossless encoding: $ convert input.tif -define numrlvls=6 -define jp2:tilewidth=1024
--define jp2:tileheight=1024 \ $ convert input.tif -define jp2:numrlvls=6 -define jp2:tilewidth=1024
+-define jp2:tileheight=1024 \ Here is a complete list of JPEG-2000 encoding options:
+
-define jp2:nomct -define jp2:numrlvls=4 -define jp2:rate=0.015625 wizard.jpc
-define jp2:rate=0.02348 -define
-jp2:prg=rpcl -define jp2:mode=int -define jp2:prcwidth=16383 \
-define
+
-define jp2:rate=0.02348 -define
+jp2:prg=rpcl -define jp2:mode=int -define jp2:prcwidth=16383 \
-define
jp2:prcheight=16383 -define jp2:cblkwidth=64 -define jp2:cblkheight=64
-define jp2:sop output.jp2
-define jp2:rate=1.0 -define jp2:lazy
--define jp2:prg=rlcp -define jp2:ilyrrates=\
'0.015625,0.01858,0.0221,0.025,0.03125,0.03716,0.04419,0.05,0.0625,
+
-define jp2:rate=1.0 -define jp2:lazy
+-define jp2:prg=rlcp -define jp2:ilyrrates=\
'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:mode=int output.jp2
-define jp2:mode=int output.jp2
@@ -360,32 +293,24 @@ jp2:prcheight=16383 -define jp2:cblkwidth=64 -define jp2:cblkheight=64
-
-