| Constructor and Description |
|---|
PackbitsCodec() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
compress(byte[] data,
int x,
int y,
int[] dims,
java.lang.Object options)
Compresses a block of Packbits data.
|
byte[] |
decompress(byte[] input,
java.lang.Object options)
Decodes a PackBits (Macintosh RLE) compressed image.
|
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 Adobe data block.public byte[] decompress(byte[] input,
java.lang.Object options)
throws loci.formats.FormatException
decompress in interface Codecinput - input data to be decompressedoptions - Options to be used during decompression.loci.formats.FormatException - if data is not valid compressed data for this
decompressor