JPEG 2000 plugin supports to losslessly or lossy compress gray-scale,
RGB, and RGBA images with byte, unsigned short or short data type. It also
supports losslessly compress bilevel, and 8-bit color indexed images. The
result data is in the of JP2 format -- JPEG 2000 Part 1 or baseline format.
JPEG 2000 Plugin Decoding Parameters
Parameter Name | Description |
numDecompositionLevels |
The number of decomposition levels to generate. This value must
be in the range
0 ≤ numDecompositionLevels ≤ 32
. The default value is 5 . Note that the number
of resolution levels is
numDecompositionLevels + 1 .
The number of decomposition levels is constant across
all components and all tiles.
|
encodingRate |
The bitrate in bits-per-pixel for encoding. Should be set when
lossy compression scheme is used. With the default value
Double.MAX_VALUE , a lossless compression will be done.
|
lossless |
Indicates using the lossless scheme or not. It is equivalent to
use reversible quantization and 5x3 integer wavelet filters. The
default is true .
|
componentTransformation |
Specifies to utilize the component transformation on some tiles.
If the wavelet transform is reversible (w5x3 filter), the Reversible
Component Transformation (RCT) is applied. If not reversible
(w9x7 filter), the Irreversible Component Transformation (ICT) is used.
|
filters |
Specifies which wavelet filters to use for the specified
tile-components. JPEG 2000 part I only supports w5x3 and w9x7 filters.
|
codeBlockSize |
Specifies the maximum code-block size to use for tile-component.
The maximum width and height is 1024, however the block size
(i.e. width x height) must not exceed 4096. The minimum width and
height is 4. The default values are (64, 64).
|
progressionType |
Specifies which type of progression should be used when generating
the codestream.
The format is ont of the progression types defined below:
res : Resolution-Layer-Component-Position
layer: Layer-Resolution-Component-Position
res-pos: Resolution-Position-Component-Layer
pos-comp: Position-Component-Resolution-Layer
comp-pos: Component-Position-Resolution-Layer
|
SOP |
Specifies whether start of packet (SOP) markers should be used.
true enables, false disables it. The default value is false.
|
EPH |
Specifies whether end of packet header (EPH) markers should be used.
true enables, false disables it. The default value is false.
|
writeCodeStreamOnly |
Specifies whether write only the jpeg2000 code stream, i.e, no any
box is written. The default value is false.
|