com.gnostice.pdfone.filters
Class PdfCCITTDecodeFilter
java.lang.Object
com.gnostice.pdfone.filters.PdfCCITTDecodeFilter
- public class PdfCCITTDecodeFilter
- extends Object
Constructor Summary |
PdfCCITTDecodeFilter(ByteBuffer imageBuffer,
int ccittGroup,
boolean isEndofLine,
boolean isEncodedByteAlign,
int columns,
int rows,
boolean isEndOfBlock,
boolean isBlack1)
Constructor |
Method Summary |
int |
getChar()
Gets each charecter on request after decoding |
PdfCCITTDecodeFilter
public PdfCCITTDecodeFilter(ByteBuffer imageBuffer,
int ccittGroup,
boolean isEndofLine,
boolean isEncodedByteAlign,
int columns,
int rows,
boolean isEndOfBlock,
boolean isBlack1)
- Constructor
- Parameters:
imageBuffer
- that need to be decodedccittGroup
- a code identifying the encoding scheme usedisEndofLine
- A flag indicating whether end-of-line bit patterns
are required to be present in the encoding.isEncodedByteAlign
- A flag indicating whether the filter expects extra 0
bits before each encoded line so that the line
begins on a byte boundary.columns
- The width of the image in pixels.rows
- The height of the image in scan lines.isBlack1
- a flag indicating whether 1 bits are to be
interpreted as black pixels and 0 bits as white
pixels.
- Throws:
ExOutofMemory
- will be raised on allocation out of memory
getChar
public int getChar()
- Gets each charecter on request after decoding
- Returns:
- The charecter(integer value) after decoding
- Throws:
ExInvalidStream
- will be raised if FStream is nil
To contact our support team, send an e-mail to support@gnostice.com.
© 2010 Gnostice Information Technologies Private Limited. All rights reserved.
www.gnostice.com