View Source Pdf.Reader.Filter.RLE (ExPDF v1.0.1)
RunLengthDecode filter — decodes PackBits-style run-length encoded data.
Per PDF spec §7.4.5:
- Length byte 128 → end of data (EOD).
- Length byte 0–127 → copy the next
n + 1bytes verbatim (literal run). - Length byte 129–255 → repeat the next byte
257 - ntimes (run).
Summary
Functions
Decode RunLength-encoded bytes. params is ignored.
Functions
Decode RunLength-encoded bytes. params is ignored.