@contentauth/c2pa-js
    Preparing search index...

    Copyright 2025 Adobe All Rights Reserved.

    NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it.

    • Creates a new instance of c2pa-web by setting up a web worker and preparing a WASM binary.

      Parameters

      • config: Config

        SDK configuration object.

      Returns Promise<C2paSdk>

      An object providing access to factory methods for creating new reader objects.

      const c2pa = await createC2pa({ wasmSrc: 'url/hosting/wasm/binary' });

      const reader = await c2pa.reader.fromBlob(imageBlob.type, imageBlob);