| 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
|
| private static int | packBits(byte[] input, int inOffset, int inCount, byte[] output, int outOffset)
Performs PackBits compression for a single buffer of data. |
| TIFFPackBitsCompressor | back to summary |
|---|---|
| public TIFFPackBitsCompressor() | |
| 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
| |
| packBits | back to summary |
|---|---|
| private static int packBits(byte[] input, int inOffset, int inCount, byte[] output, int outOffset) Performs PackBits compression for a single buffer of data. This should be called for each row of each tile. The returned value is the offset into the output buffer after compression. | |