public class JPEG2000CodecOptions extends CodecOptions
| Modifier and Type | Field and Description |
|---|---|
int[] |
codeBlockSize
The maximum code-block size to use per tile-component as it would be
provided to:
J2KImageWriteParam#setCodeBlockSize(int[]) (WRITE). |
Integer |
numDecompositionLevels
The number of decomposition levels as would be provided to:
J2KImageWriteParam#setNumDecompositionLevels(int) (WRITE). |
Integer |
resolution
The resolution level as would be provided to:
J2KImageWriteParam#setResolution(int) (READ). |
bitsPerSample, channels, colorModel, height, interleaved, littleEndian, lossless, maxBytes, previousImage, quality, signed, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width, ycbcr| Constructor and Description |
|---|
JPEG2000CodecOptions()
Creates a new instance.
|
JPEG2000CodecOptions(CodecOptions options)
Creates a new instance with options.
|
| Modifier and Type | Method and Description |
|---|---|
static JPEG2000CodecOptions |
getDefaultOptions()
Return JPEG2000CodecOptions with reasonable default values.
|
static JPEG2000CodecOptions |
getDefaultOptions(CodecOptions options)
Return JPEG2000CodecOptions using the given CodecOptions as the default.
|
public int[] codeBlockSize
J2KImageWriteParam#setCodeBlockSize(int[]) (WRITE).public Integer numDecompositionLevels
J2KImageWriteParam#setNumDecompositionLevels(int) (WRITE). Leaving
this value null signifies that when a JPEG 2000 parameter set is
created for the purposes of compression the number of decomposition levels
will be left as the default.public Integer resolution
J2KImageWriteParam#setResolution(int) (READ). Leaving this value
null signifies that when a JPEG 2000 parameter set is created for
the purposes of compression the number of decomposition levels will be left
as the default.public JPEG2000CodecOptions()
public JPEG2000CodecOptions(CodecOptions options)
options - The option to set.public static JPEG2000CodecOptions getDefaultOptions()
public static JPEG2000CodecOptions getDefaultOptions(CodecOptions options)
options - The specified options.Copyright © 2011–2026 SCIFIO. All rights reserved.