c2pa.c2pa.read_2
C2pa.read() method
Processes image data from a URL
Signature:read(url: string): Promise<C2paReadResult>;
Parameters
Parameter | Type | Description |
---|---|---|
url | string | The URL of the image to process |
Promise<C2paReadResult>
Remarks
Note: The file referenced by the URL must either be have the same origin as the site referencing this code, or it needs to have CORS enabled on the resource.