| java.lang.Object com.sun.media.jai.codecimpl.TIFFFaxEncoder
TIFFFaxEncoder | class TIFFFaxEncoder (Code) | | |
Constructor Summary | |
| TIFFFaxEncoder(boolean inverseFill) Constructs a TIFFFaxEncoder for CCITT bilevel encoding. |
Method Summary | |
synchronized int | encodeRLE(byte[] data, int rowOffset, int colOffset, int rowLength, byte[] compData) Encode a row of data using Modified Huffman Compression also known as
CCITT RLE (Run Lenth Encoding).
Parameters: data - The row of data to compress. Parameters: rowOffset - Starting index in data . Parameters: colOffset - Bit offset within first data[rowOffset] . Parameters: rowLength - Number of bits in the row. Parameters: compData - The compressed data. | synchronized int | encodeT4(boolean is1DMode, boolean isEOLAligned, byte[] data, int lineStride, int colOffset, int width, int height, byte[] compData) Encode a buffer of data using CCITT T.4 Compression also known as
Group 3 facsimile compression.
Parameters: is1DMode - Whether to perform one-dimensional encoding. Parameters: isEOLAligned - Whether EOL bit sequences should be padded. 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. | 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. |
TIFFFaxEncoder | TIFFFaxEncoder(boolean inverseFill)(Code) | | Constructs a TIFFFaxEncoder for CCITT bilevel encoding.
Parameters: inverseFill - Whether bits are inserted in reverse order(TIFF FillOrder 2). |
encodeRLE | synchronized int encodeRLE(byte[] data, int rowOffset, int colOffset, int rowLength, byte[] compData)(Code) | | Encode a row of data using Modified Huffman Compression also known as
CCITT RLE (Run Lenth Encoding).
Parameters: data - The row of data to compress. Parameters: rowOffset - Starting index in data . Parameters: colOffset - Bit offset within first data[rowOffset] . Parameters: rowLength - Number of bits in the row. Parameters: compData - The compressed data. The number of bytes saved in the compressed data array. |
encodeT4 | synchronized int encodeT4(boolean is1DMode, boolean isEOLAligned, byte[] data, int lineStride, int colOffset, int width, int height, byte[] compData)(Code) | | Encode a buffer of data using CCITT T.4 Compression also known as
Group 3 facsimile compression.
Parameters: is1DMode - Whether to perform one-dimensional encoding. Parameters: isEOLAligned - Whether EOL bit sequences should be padded. 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. |
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. |
|
|