| Constructor and Description |
|---|
LZOCodec() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
compress(byte[] data,
int x,
int y,
int[] dims,
java.lang.Object options)
Compresses a block of lzo data.
|
byte[] |
decompress(byte[] src,
java.lang.Object options)
Decodes an LZO-compressed array.
|
compress, decompress, decompress, decompress, testclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompress, decompress, decompress, decompresspublic byte[] compress(byte[] data,
int x,
int y,
int[] dims,
java.lang.Object options)
throws loci.formats.FormatException
compress in interface Codecdata - the data to be compressedx - length of the x dimension of the image data, if appropriatey - length of the y dimension of the image data, if appropriatedims - the dimensions of the image data, if appropriateoptions - options to be used during compression, if appropriateloci.formats.FormatException - If input is not an LZO-compressed data block.public byte[] decompress(byte[] src,
java.lang.Object options)
throws loci.formats.FormatException
decompress in interface Codecsrc - the data to be decompressedoptions - Options to be used during decompression.loci.formats.FormatException - if data is not valid compressed data for this
decompressor