This function takes:
- a path containing the file to read and verify C2PA data from
- an optional directory to write any binary assets to (e.g. thumbnails to)
And outputs:
- a JSON string containing the manifest data (similar to c2patool)
- optionally writes binary assets in the manifest to a directory
Errors can be inspected in C via calling c2pa_error().
This function takes:
And outputs:
Errors can be inspected in C via calling
c2pa_error().