public class TIFFCodecLibT6Compressor extends TIFFT6Compressor
bits, BLACK, byteTable, horz, horzMode, inverseFill, makeupCodes, makeupCodesBlack, makeupCodesWhite, ndex, pass, passMode, termCodes, termCodesBlack, termCodesWhite, vert, vertMode, WHITE
compressionTagValue, compressionType, isCompressionLossless, metadata, stream, writer
Constructor and Description |
---|
TIFFCodecLibT6Compressor() |
Modifier and Type | Method and Description |
---|---|
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.
|
encode
add1DBits, add2DBits, addEOFB, addEOL, encode1D, initBitBuf, nextState, setMetadata
dispose, getCompressionTagValue, getCompressionType, getMetadata, getStream, getWriter, isCompressionLossless, setStream, setWriter
public final int encodeT6(byte[] data, int lineStride, int colOffset, int width, int height, byte[] compData)
encodeT6
in class TIFFT6Compressor
data
- The row of data to compress.lineStride
- Byte step between the same sample in different rows.colOffset
- Bit offset within first data[rowOffset]
.width
- Number of bits in the row.height
- Number of rows in the buffer.compData
- The compressed data.Copyright © 2006–2016 GeoSolutions. All rights reserved.