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): Promise<C2paReadResult>;
Parameters
Parameter | Type | Description |
---|---|---|
input | C2paSourceType | Image to process |
Promise<C2paReadResult>