| java.lang.Object com.sun.media.imageio.plugins.tiff.TIFFCompressor com.sun.media.imageioimpl.plugins.tiff.TIFFFaxCompressor com.sun.media.imageioimpl.plugins.tiff.TIFFT6Compressor
All known Subclasses: com.sun.media.imageioimpl.plugins.tiff.TIFFCodecLibT6Compressor,
Method Summary | |
public int | encode(byte[] b, int off, int width, int height, int[] bitsPerSample, int scanlineStride) | public synchronized int | encodeT6(byte[] data, int lineStride, int colOffset, int width, int height, byte[] compData) Encode a buffer of data using CCITT T.6 Compression also known as
Group 4 facsimile compression.
Parameters: data - The row of data to compress. Parameters: lineStride - Byte step between the same sample in different rows. Parameters: colOffset - Bit offset within first data[rowOffset] . Parameters: width - Number of bits in the row. Parameters: height - Number of rows in the buffer. Parameters: compData - The compressed data. |
TIFFT6Compressor | public TIFFT6Compressor()(Code) | | |
encode | public int encode(byte[] b, int off, int width, int height, int[] bitsPerSample, int scanlineStride) throws IOException(Code) | | |
encodeT6 | public synchronized int encodeT6(byte[] data, int lineStride, int colOffset, int width, int height, byte[] compData)(Code) | | Encode a buffer of data using CCITT T.6 Compression also known as
Group 4 facsimile compression.
Parameters: data - The row of data to compress. Parameters: lineStride - Byte step between the same sample in different rows. Parameters: colOffset - Bit offset within first data[rowOffset] . Parameters: width - Number of bits in the row. Parameters: height - Number of rows in the buffer. Parameters: compData - The compressed data. The number of bytes saved in the compressed data array. |
Methods inherited from com.sun.media.imageioimpl.plugins.tiff.TIFFFaxCompressor | public int add1DBits(byte[] buf, int where, int count, int color)(Code)(Java Doc) public int add2DBits(byte[] buf, int where, int[][] mode, int entry)(Code)(Java Doc) public int addEOFB(byte[] buf, int where)(Code)(Java Doc) public int addEOL(boolean is1DMode, boolean addFill, boolean add1, byte[] buf, int where)(Code)(Java Doc) public int encode1D(byte[] data, int rowOffset, int colOffset, int rowLength, byte[] compData, int compOffset)(Code)(Java Doc) public void initBitBuf()(Code)(Java Doc) public int nextState(byte[] data, int base, int bitOffset, int maxOffset)(Code)(Java Doc) public void setMetadata(IIOMetadata metadata)(Code)(Java Doc)
|
|
|