@contentauth/c2pa-node / ReaderInterface
Interface: ReaderInterface
Defined in: types.d.ts:313
Methods
isEmbedded()
isEmbedded():
boolean
Defined in: types.d.ts:327
Returns true if the the reader was created from an embedded manifest
Returns
boolean
json()
json():
ManifestStore
Defined in: types.d.ts:317
Get the JSON representation of the manifest
Returns
ManifestStore
remoteUrl()
remoteUrl():
string
Defined in: types.d.ts:322
Get the remote url of the manifest if this reader obtained the manifest remotely
Returns
string
resourceToAsset()
resourceToAsset(
uri,output):Promise<number>
Defined in: types.d.ts:334
Write a resource to a buffer or file
Parameters
uri
string
The URI of the resource
output
Returns
Promise<number>