| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | encode(byte[] b, int off, int width, int height, int[] bitsPerSample, int scanlineStride)
Implements abstract com. Encodes the supplied image data, writing to the currently set
|
| public int | Returns: The number of bytes saved in the compressed data array.The row of data to compress. data, int Starting index in rowOffset, int data.Bit offset within first colOffset, int data[rowOffset].Number of bits in the row. rowLength, byte[] The compressed data. compData)Encode a row of data using Modified Huffman Compression also known as CCITT RLE (Run Length Encoding). |
| TIFFRLECompressor | back to summary |
|---|---|
| public TIFFRLECompressor() | |
| encode | back to summary |
|---|---|
| public int encode(byte[] b, int off, int width, int height, int[] bitsPerSample, int scanlineStride) throws IOException Implements abstract com. Doc from com. Encodes the supplied image data, writing to the currently set
| |
| encodeRLE | back to summary |
|---|---|
| public 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 Length Encoding).
| |