Creates a new instance of c2pa-web by setting up a web worker and preparing a WASM binary.
This is the "inline" version which compiles the WASM binary from an inlined, base64-encoded string.
Optional
SDK configuration object.
An object providing access to factory methods for creating new reader objects.
const c2pa = await createC2pa();const reader = await c2pa.reader.fromBlob(imageBlob.type, imageBlob); Copy
const c2pa = await createC2pa();const reader = await c2pa.reader.fromBlob(imageBlob.type, imageBlob);
Creates a new instance of c2pa-web by setting up a web worker and preparing a WASM binary.
This is the "inline" version which compiles the WASM binary from an inlined, base64-encoded string.