RunLengthFilter
in package
implements
FilterInterface
FinalYes
RunLengthDecode — basic run-length encoding (ISO 32000-2 §7.4.5).
Rarely used standalone in modern PDFs but required by the spec. Effective only for data with long runs of identical bytes (e.g., large solid-color image regions).
Table of Contents
Interfaces
- FilterInterface
- Symmetric encode/decode contract for PDF stream filters (ISO 32000-2 §7.4).
Methods
Methods
decode()
public
decode(string $data) : string
Parameters
- $data : string
Return values
stringencode()
public
encode(string $data) : string
Parameters
- $data : string