iText 8.0.5 API
iText.Kernel.Pdf.Filters.IFilterHandler Interface Reference

The main interface for creating a new FilterHandler More...

Inheritance diagram for iText.Kernel.Pdf.Filters.IFilterHandler:
iText.Kernel.Pdf.Filters.CCITTFaxDecodeFilter iText.Kernel.Pdf.Filters.DctDecodeFilter iText.Kernel.Pdf.Filters.DoNothingFilter iText.Kernel.Pdf.Filters.JpxDecodeFilter iText.Kernel.Pdf.MemoryLimitsAwareFilter iText.Kernel.Pdf.Filters.ASCII85DecodeFilter iText.Kernel.Pdf.Filters.ASCIIHexDecodeFilter iText.Kernel.Pdf.Filters.FlateDecodeFilter iText.Kernel.Pdf.Filters.LZWDecodeFilter iText.Kernel.Pdf.Filters.RunLengthDecodeFilter iText.Kernel.Pdf.Filters.FlateDecodeStrictFilter

Public Member Functions

byte[]  Decode (byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary)
  Decode the byte[] using the provided filterName. More...
 

Detailed Description

The main interface for creating a new FilterHandler

Member Function Documentation

◆ Decode()

byte [] iText.Kernel.Pdf.Filters.IFilterHandler.Decode ( byte[]  b,
PdfName  filterName,
PdfObject  decodeParams,
PdfDictionary  streamDictionary 
)

Decode the byte[] using the provided filterName.

Parameters
b the bytes that need to be decoded
filterName PdfName of the filter
decodeParams decode parameters
streamDictionary the dictionary of the stream. Can contain additional information needed to decode the byte[].
Returns
decoded byte array

Implemented in iText.Kernel.Pdf.Filters.FlateDecodeFilter, iText.Kernel.Pdf.Filters.ASCII85DecodeFilter, iText.Kernel.Pdf.Filters.ASCIIHexDecodeFilter, iText.Kernel.Pdf.Filters.DctDecodeFilter, iText.Kernel.Pdf.Filters.JpxDecodeFilter, iText.Kernel.Pdf.Filters.LZWDecodeFilter, iText.Kernel.Pdf.Filters.CCITTFaxDecodeFilter, iText.Kernel.Pdf.Filters.DoNothingFilter, iText.Kernel.Pdf.Filters.FlateDecodeStrictFilter, iText.Kernel.Pdf.Filters.RunLengthDecodeFilter, and iText.Kernel.Pdf.MemoryLimitsAwareFilter.