| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean |
| 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.Whether to perform one-dimensional encoding. is1DMode, boolean Whether EOL bit sequences should be padded. isEOLAligned, byte[] The row of data to compress. data, int Byte step between the same sample in different rows. lineStride, int Bit offset within first colOffset, int data[rowOffset].Number of bits in the row. width, int Number of rows in the buffer. height, byte[] The compressed data. compData)Encode a buffer of data using CCITT T.4 Compression also known as Group 3 facsimile compression. |
| public void | setMetadata(IIOMetadata
the metadata)IIOMetadata object for the
image being written.Overrides com. Sets the value of the |
| is1DMode | back to summary |
|---|---|
| private boolean is1DMode | |
| isEOLAligned | back to summary |
|---|---|
| private boolean isEOLAligned | |
| TIFFT4Compressor | back to summary |
|---|---|
| public TIFFT4Compressor() | |
| 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
| |
| encodeT4 | back to summary |
|---|---|
| public 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.
| |
| setMetadata | back to summary |
|---|---|
| public void setMetadata(IIOMetadata metadata) Overrides com. Sets the value of the The implementation in this class also sets local options from the T4_OPTIONS field if it exists, and if it doesn't, adds it with default values.
| |