Skip to content

happypdf / parseContentStream

Function: parseContentStream()

ts
function parseContentStream(bytes): ContentStreamOperation[];

Defined in: src/api/extraction/ContentStreamParser.ts:18

Tokenize a decoded PDF content stream into operator / operand sequences. Inline images (BIIDEI) are skipped as a unit.

Parameters

ParameterType
bytesUint8Array

Returns

ContentStreamOperation[]

MIT Licensed. A fork of pdf-lib.