Skip to content

Create c2pa_read_file C function #1

Description

@dkozma

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().

Activity

  1. changed the title [-]Create `c2pa_read_from_file` C function[/-] [+]Create `c2pa_read_file` C function[/+] on Oct 30, 2023
  2. dkozma commented on Oct 30, 2023

    @dkozma
    Author

    Outstanding questions:

    • Is error reporting correct? Should we have more programmatically useful error messages?
    • Should we pass in an options parameter instead instead of an optional file path as a second parameter?
  3. github-jira-sync-bot commented on Nov 2, 2023

    @github-jira-sync-bot

    ✅ Jira issue https://jira.corp.adobe.com/browse/CAI-5021 is successfully created for this GitHub issue.

  4. github-jira-sync-bot commented on Nov 2, 2023

    @github-jira-sync-bot

    ❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/CAI-5021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions