Interface IFilter
A filter is used in a PDF to encode/decode data either to compress it or derive an ASCII representation of the data.
public interface IFilter
Properties
IsSupported
Whether this library can decode information encoded using this filter.
bool IsSupported { get; }
Property Value
Methods
Decode(IReadOnlyList<byte>, DictionaryToken, int)
Decodes data encoded using this filter type.
byte[] Decode(IReadOnlyList<byte> input, DictionaryToken streamDictionary, int filterIndex)
Parameters
input
IReadOnlyList<byte>The encoded bytes which were encoded using this filter.
streamDictionary
DictionaryTokenThe dictionary of the StreamToken (or other dictionary types, e.g. inline images) containing these bytes.
filterIndex
intThe position of this filter in the pipeline used to encode data.
Returns
- byte[]
The decoded bytes.