Table of Contents

Interface IFilterHandler

Namespace
iText.Kernel.Pdf.Filters
Assembly
itext.kernel.dll

The main interface for creating a new FilterHandler

public interface IFilterHandler

Methods

Decode(byte[], PdfName, PdfObject, PdfDictionary)

Decode the byte[] using the provided filterName.

byte[] Decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary)

Parameters

b byte[]

the bytes that need to be decoded

filterName PdfName

PdfName of the filter

decodeParams PdfObject

decode parameters

streamDictionary PdfDictionary

the dictionary of the stream. Can contain additional information needed to decode the byte[].

Returns

byte[]

decoded byte array