public class LZWCompressor
extends java.lang.Object
| Constructor and Description |
|---|
LZWCompressor(javax.imageio.stream.ImageOutputStream out,
int codeSize,
boolean TIFF) |
public LZWCompressor(javax.imageio.stream.ImageOutputStream out,
int codeSize,
boolean TIFF)
throws java.io.IOException
out - destination for compressed datacodeSize - the initial code size for the LZW compressorTIFF - flag indicating that TIFF lzw fudge needs to be appliedjava.io.IOException - if underlying output stream errorpublic void compress(byte[] buf,
int offset,
int length)
throws java.io.IOException
buf - data to be compressed to output streamjava.io.IOException - if underlying output stream errorpublic void flush()
throws java.io.IOException
java.io.IOException - if underlying output stream errorpublic void dump(java.io.PrintStream out)
Copyright © 2014 Open Microscopy Environment