public class Compressor extends Decompressor implements Closeable
banded, bi, bitsAllocated, bitsStored, cols, dataset, decompressor, file, frameLength, frames, imageDescriptor, length, patchJpegLS, pixeldataFragments, pmi, pmiAfterDecompression, readParam, rows, samples, signed, tstype, tsuid| Constructor and Description |
|---|
Compressor(Attributes dataset,
String from) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
compress(String tsuid,
Property... params) |
void |
dispose() |
BufferedImage |
readFrame(int frameIndex) |
createBufferedImage, createImageInputStream, decompress, decompress, decompressFrame, writeFrameTo, writeTopublic Compressor(Attributes dataset, String from)
public boolean compress(String tsuid, Property... params) throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic void dispose()
dispose in class Decompressorpublic BufferedImage readFrame(int frameIndex) throws IOException
IOExceptionCopyright © 2021. All rights reserved.