Package com.itextpdf.kernel.pdf.filters
Interface IFilterHandler
- All Known Implementing Classes:
ASCII85DecodeFilter
,ASCIIHexDecodeFilter
,CCITTFaxDecodeFilter
,DctDecodeFilter
,DoNothingFilter
,FlateDecodeFilter
,FlateDecodeStrictFilter
,InlineImageParsingUtils.UnsupportedFilter
,JpxDecodeFilter
,LZWDecodeFilter
,MemoryLimitsAwareFilter
,RunLengthDecodeFilter
public interface IFilterHandler
The main interface for creating a new
FilterHandler
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decode
(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary) Decode the byte[] using the provided filterName.
-
Method Details
-
decode
Decode the byte[] using the provided filterName.- Parameters:
b
- the bytes that need to be decodedfilterName
- PdfName of the filterdecodeParams
- decode parametersstreamDictionary
- the dictionary of the stream. Can contain additional information needed to decode the byte[].- Returns:
- decoded byte array
-