We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we add functionality to the sign_file sdk to extend a pre-existing Manifest incorporating it as a parent.
Original
result = c2pa.sign_file("path/to/source.jpg", "path/to/dest.jpg", manifest_json, sign_info, data_dir)
Proposed
result = c2pa.sign_file("path/to/source.jpg", "path/to/dest.jpg", manifest_json, sign_info, data_dir, ingredients=[Manifests])
This way we can include the parents that formed the child asset
The text was updated successfully, but these errors were encountered:
The CLI aligns with this feature partially allowing one parent https://github.com/contentauth/c2patool?tab=readme-ov-file#usage
Sorry, something went wrong.
The new Builder API allows adding as many ingredients as you like:
builder = Builder(manifest_json) builder.add_ingredient_file({ "title": "A.jpg", "relationship": "parentOf"}, "tests/fixtures/A.jpg") result = builder.sign_file(signer, testFile, testOutputFile)
I'll be working on more convenience features, such as a simpler.
There can only be one parent ingredient, so there must be some way to indicate that.
No branches or pull requests
Can we add functionality to the sign_file sdk to extend a pre-existing Manifest incorporating it as a parent.
Original
Proposed
This way we can include the parents that formed the child asset
The text was updated successfully, but these errors were encountered: