Table of contents
Namespace: Com\Tecnick\Pdf\Filter
Backing type: string
File: FilterType.php line 37
Backed enum of the standard PDF stream filters (PDF 32000-1:2008 §7.4). The backing value of each case is the PDF filter name.
Tags
- since: 2026-07-17
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2011-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf-filter
Cases
AsciiHexDecode
File: FilterType.php line 39
Ascii85Decode
File: FilterType.php line 41
LzwDecode
File: FilterType.php line 43
FlateDecode
File: FilterType.php line 45
RunLengthDecode
File: FilterType.php line 47
CcittFaxDecode
File: FilterType.php line 49
Jbig2Decode
File: FilterType.php line 51
DctDecode
File: FilterType.php line 53
JpxDecode
File: FilterType.php line 55
Crypt
File: FilterType.php line 57
Methods
fromLoose()
File: FilterType.php line 71
public static fromLoose(string|self $value) : self
Accepts an enum case (returned unchanged), the PDF filter name, the inline-image abbreviation (PDF 32000-1:2008 Table 93), and either name written with the leading solidus of a PDF name object. Names are case-sensitive.
Parameters
- $value : string|self: PDF filter name or enum case.
Tags
- throws: Exception if the value does not match a known PDF filter.
Return values
self