Skip to main content

c2pa.c2pa.read_4

Home > c2pa > C2pa > read

C2pa.read() method

Process an image given a valid input. Supported types: - Blob - File - Image URL - HTML image element (<img />)

Signature:
read(input: C2paSourceType, options?: C2paReadOptions): Promise<C2paReadResult>;

Parameters

ParameterTypeDescription
inputC2paSourceTypeImage to process
optionsC2paReadOptions(Optional)
Returns:

Promise<C2paReadResult>