final class CCITTFaxFilter extends Filter
SYSPROP_DEFLATELEVEL
Constructor and Description |
---|
CCITTFaxFilter() |
Modifier and Type | Method and Description |
---|---|
DecodeResult |
decode(java.io.InputStream encoded,
java.io.OutputStream decoded,
COSDictionary parameters,
int index)
Decodes data, producing the original non-encoded data.
|
protected void |
encode(java.io.InputStream input,
java.io.OutputStream encoded,
COSDictionary parameters) |
private void |
invertBitmap(byte[] bufferData) |
(package private) void |
readFromDecoderStream(CCITTFaxDecoderStream decoderStream,
byte[] result) |
decode, encode, findImageReader, getCompressionLevel, getDecodeParams
public DecodeResult decode(java.io.InputStream encoded, java.io.OutputStream decoded, COSDictionary parameters, int index) throws java.io.IOException
Filter
decode
in class Filter
encoded
- the encoded byte streamdecoded
- the stream where decoded data will be writtenparameters
- the parameters used for decodingindex
- the index to the filter being decodedjava.io.IOException
- if the stream cannot be decodedvoid readFromDecoderStream(CCITTFaxDecoderStream decoderStream, byte[] result) throws java.io.IOException
java.io.IOException
private void invertBitmap(byte[] bufferData)
protected void encode(java.io.InputStream input, java.io.OutputStream encoded, COSDictionary parameters) throws java.io.IOException