public class CodecOptions extends Object
Modifier and Type | Field and Description |
---|---|
int |
bitsPerSample
Number of bits per channel.
|
int |
channels
Number of channels.
|
ColorModel |
colorModel
Color model to use when constructing an image (WRITE).
|
int |
height
Height, in pixels, of the image.
|
boolean |
interleaved
Indicates whether or not channels are interleaved.
|
boolean |
littleEndian
Indicates endianness of pixel data.
|
boolean |
lossless
Used with codecs allowing lossy and lossless compression.
|
int |
maxBytes
If compressing, this is the maximum number of raw bytes to compress.
|
byte[] |
previousImage
Pixels for preceding image (READ/WRITE).
|
double |
quality
Compression quality level as it would be provided to:
ImageWriteParam.compressionQuality (WRITE). |
boolean |
signed
Indicates whether or not the pixel data is signed.
|
int |
tileGridXOffset
Horizontal offset of the tile grid as it would be provided to:
ImageWriteParam.setTiling(int, int, int, int)
(WRITE). |
int |
tileGridYOffset
Vertical offset of the tile grid as it would be provided to:
ImageWriteParam.setTiling(int, int, int, int)
(WRITE). |
int |
tileHeight
Tile height as it would be provided to:
ImageWriteParam.setTiling(int, int, int, int)
(WRITE). |
int |
tileWidth
Tile width as it would be provided to:
ImageWriteParam.setTiling(int, int, int, int)
(WRITE). |
int |
width
Width, in pixels, of the image.
|
boolean |
ycbcr
Whether or not the decompressed data will be stored as YCbCr.
|
Constructor and Description |
---|
CodecOptions()
Construct a new CodecOptions.
|
CodecOptions(CodecOptions options)
Construct a new CodecOptions using the given CodecOptions.
|
Modifier and Type | Method and Description |
---|---|
static CodecOptions |
getDefaultOptions()
Return CodecOptions with reasonable default values.
|
public int width
public int height
public int channels
public int bitsPerSample
public boolean littleEndian
public boolean interleaved
public boolean signed
public int tileWidth
ImageWriteParam.setTiling(int, int, int, int)
(WRITE).public int tileHeight
ImageWriteParam.setTiling(int, int, int, int)
(WRITE).public int tileGridXOffset
ImageWriteParam.setTiling(int, int, int, int)
(WRITE).public int tileGridYOffset
ImageWriteParam.setTiling(int, int, int, int)
(WRITE).public int maxBytes
public byte[] previousImage
public boolean lossless
public ColorModel colorModel
public double quality
ImageWriteParam.compressionQuality
(WRITE).public boolean ycbcr
public CodecOptions()
public CodecOptions(CodecOptions options)
public static CodecOptions getDefaultOptions()
Copyright © 2017 Open Microscopy Environment