| java.lang.Object org.pdfbox.filter.CCITTFaxDecodeFilter
CCITTFaxDecodeFilter | public class CCITTFaxDecodeFilter implements Filter(Code) | | This is a filter for the CCITTFax Decoder.
author: Ben Litchfield author: Marcel Kammer author: Paul King version: $Revision: 1.12 $ |
CCITTFaxDecodeFilter | public CCITTFaxDecodeFilter()(Code) | | Constructor.
|
decode | public void decode(InputStream compressedData, OutputStream result, COSDictionary options) throws IOException(Code) | | This will decode some compressed data.
Parameters: compressedData - The compressed byte stream. Parameters: result - The place to write the uncompressed byte stream. Parameters: options - The options to use to encode the data. throws: IOException - If there is an error decompressing the stream. |
encode | public void encode(InputStream rawData, OutputStream result, COSDictionary options) throws IOException(Code) | | This will encode some data.
Parameters: rawData - The raw data to encode. Parameters: result - The place to write to encoded results to. Parameters: options - The options to use to encode the data. throws: IOException - If there is an error compressing the stream. |
writeTagCompression | public void writeTagCompression(OutputStream result, int type) throws IOException(Code) | | Write the tag compression.
Parameters: result - The stream to write to. Parameters: type - The type to write. throws: IOException - If there is an error writing to the stream. |
|
|