Filter
in package
Com\Tecnick\Pdf\Filter\Filter
PHP class for decoding common PDF filters (PDF 32000-2008 - 7.4 Filters)
Tags
Table of Contents
Methods
- decode() : string
- Decode data using the specified filter type.
- decodeAll() : string
- Decode the input data using multiple filters
Methods
decode()
Decode data using the specified filter type.
public decode(string $filter,
string $data)
: string
Parameters
- $filter : string
-
Filter name.
- $data : string
-
Data to decode.
Return values
string —Decoded data string.
decodeAll()
Decode the input data using multiple filters
public decodeAll(array<string|int,
string> $filters,
string $data)
: string
Parameters
- $filters : array<string|int, string>
-
Array of decoding filters to apply in order
- $data : string
-
Data to decode.
Return values
string —Decoded data