| Package | Description |
|---|---|
| ome.codecs |
Package containing Bio-Formats compression and decompression logic.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MissingLibraryException
MissingLibraryException is the exception thrown when a particular data
stream or filename requires a library that is not present on the system.
|
class |
UnsupportedCompressionException
UnsupportedCompressionException is the exception thrown when the compression
scheme used in a particular file or stream is unsupported.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
Codec.compress(byte[][] data,
CodecOptions options)
Compresses a block of data.
|
byte[] |
BaseCodec.compress(byte[][] data,
CodecOptions options)
2D data block encoding default implementation.
|
byte[] |
JPEGCodec.compress(byte[] data,
CodecOptions options)
The CodecOptions parameter should have the following fields set:
width
height
channels
bitsPerSample
interleaved
littleEndian
signed |
byte[] |
MJPBCodec.compress(byte[] data,
CodecOptions options) |
byte[] |
PackbitsCodec.compress(byte[] data,
CodecOptions options) |
byte[] |
Codec.compress(byte[] data,
CodecOptions options)
Compresses a block of data.
|
byte[] |
HuffmanCodec.compress(byte[] data,
CodecOptions options) |
byte[] |
MSRLECodec.compress(byte[] data,
CodecOptions options) |
byte[] |
JPEG2000Codec.compress(byte[] data,
CodecOptions options)
The CodecOptions parameter should have the following fields set:
width
height
bitsPerSample
channels
interleaved
littleEndian
lossless |
byte[] |
LosslessJPEGCodec.compress(byte[] data,
CodecOptions options) |
byte[] |
MSVideoCodec.compress(byte[] data,
CodecOptions options) |
byte[] |
PassthroughCodec.compress(byte[] data,
CodecOptions options) |
byte[] |
ZstdCodec.compress(byte[] data,
CodecOptions options) |
byte[] |
QTRLECodec.compress(byte[] data,
CodecOptions options) |
byte[] |
LZOCodec.compress(byte[] data,
CodecOptions options) |
byte[] |
Base64Codec.compress(byte[] input,
CodecOptions options) |
byte[] |
RPZACodec.compress(byte[] input,
CodecOptions options) |
byte[] |
LZWCodec.compress(byte[] input,
CodecOptions options) |
byte[] |
ZlibCodec.compress(byte[] data,
CodecOptions options) |
byte[] |
LZ4Codec.compress(byte[] data,
CodecOptions options) |
ByteBuffer |
Codec.compress(ByteBuffer target,
byte[] data,
CodecOptions options)
Compresses data from an array into a ByteBuffer.
|
ByteBuffer |
LZWCodec.compress(ByteBuffer output,
byte[] input,
CodecOptions options) |
ByteBuffer |
BaseCodec.compress(ByteBuffer target,
byte[] data,
CodecOptions options)
Compress using ByteBuffers.
|
byte[] |
Codec.decompress(byte[] data)
Decompresses a block of data.
|
byte[] |
ZstdCodec.decompress(byte[] data) |
byte[] |
BaseCodec.decompress(byte[] data) |
byte[] |
LZ4Codec.decompress(byte[] data) |
byte[] |
Codec.decompress(byte[][] data)
Decompresses a block of data.
|
byte[] |
BaseCodec.decompress(byte[][] data) |
byte[] |
Codec.decompress(byte[][] data,
CodecOptions options)
Decompresses a block of data.
|
byte[] |
BaseCodec.decompress(byte[][] data,
CodecOptions options)
2D data block decoding default implementation.
|
byte[] |
Codec.decompress(byte[] data,
CodecOptions options)
Decompresses a block of data.
|
byte[] |
JPEG2000Codec.decompress(byte[] buf,
CodecOptions options)
The CodecOptions parameter should have the following fields set:
interleaved
littleEndian |
byte[] |
PassthroughCodec.decompress(byte[] data,
CodecOptions options) |
byte[] |
ZstdCodec.decompress(byte[] data,
CodecOptions options) |
byte[] |
QTRLECodec.decompress(byte[] data,
CodecOptions options)
The CodecOptions parameter should have the following fields set:
width
height
bitsPerSample
previousImage |
byte[] |
BaseCodec.decompress(byte[] data,
CodecOptions options) |
byte[] |
LZ4Codec.decompress(byte[] data,
CodecOptions options) |
byte[] |
ZstdCodec.decompress(byte[] data,
int inputOffset,
int length)
Decompresses a block of data of specified length from an initial offset.
|
byte[] |
LZ4Codec.decompress(byte[] data,
int inputOffset,
int length,
int outputLength)
Decompresses a block of data of specified length from an initial offset.
|
byte[] |
JPEGCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
The CodecOptions parameter should have the following fields set:
interleaved
littleEndian |
byte[] |
MJPBCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
The CodecOptions parameter must be an instance of
MJPBCodecOptions,
and should have the following fields set:
interlaced
width
height
bitsPerSample
littleEndian
interleaved |
byte[] |
PackbitsCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
The CodecOptions parameter should have the following fields set:
maxBytes |
byte[] |
Codec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
Decompresses data from the given RandomAccessInputStream.
|
byte[] |
HuffmanCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
The CodecOptions parameter must be an instance of
HuffmanCodecOptions, and should have the following fields set:
table
bitsPerSample
maxBytes |
byte[] |
MSRLECodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
|
byte[] |
JPEG2000Codec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
The CodecOptions parameter should have the following fields set:
interleaved
littleEndian |
byte[] |
LosslessJPEGCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
The CodecOptions parameter should have the following fields set:
interleaved
littleEndian |
byte[] |
MSVideoCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
The CodecOptions parameter should have the following fields set:
width
height
bitsPerSample
previousImage |
byte[] |
PassthroughCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options) |
byte[] |
ZstdCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options) |
byte[] |
QTRLECodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options) |
byte[] |
LZOCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options) |
byte[] |
Base64Codec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options) |
byte[] |
RPZACodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
|
byte[] |
LZWCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options)
The CodecOptions parameter should have the following fields set:
maxBytes |
byte[] |
ZlibCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options) |
abstract byte[] |
BaseCodec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options) |
byte[] |
LZ4Codec.decompress(loci.common.RandomAccessInputStream in,
CodecOptions options) |
int |
HuffmanCodec.getSample(BitBuffer bb,
CodecOptions options)
Deprecated.
|
int |
HuffmanCodec.getSample(loci.common.RandomAccessInputStream bb,
CodecOptions options) |
void |
BaseCodec.test()
Main testing method default implementation.
|
Copyright © 2005–2025 Open Microscopy Environment. All rights reserved.