c2pa.c2pa.read_4
C2pa.read() method
Process an image given a valid input. Supported types: - Blob - File - Image URL - HTML image element (<img />
)
read(input: C2paSourceType, options?: C2paReadOptions): Promise<C2paReadResult>;
Parameters
Parameter | Type | Description |
---|---|---|
input | C2paSourceType | Image to process |
options | C2paReadOptions | (Optional) |
Promise<C2paReadResult>