c2patool icon indicating copy to clipboard operation
c2patool copied to clipboard

Is it possible to generate a manifest with two or more ingredients?

Open MaartenPauwels opened this issue 2 years ago • 1 comments

I know you can create an ingredient report with : "c2patool sample/C.jpg --ingredient --output ./ingredient" and you can give a parent to a manifest with the --parent / -p option but is it possible to create a manifest that has multiple ingredients and create not just a chain of custody but an actual tree which could then be displayed with the --tree option?

Thank you in advance!

MaartenPauwels avatar Apr 27 '23 14:04 MaartenPauwels

You can now reference the path to the folder or folder/ingredient.json created with --ingredient, in the ingredients field and the --parent parameters. you can create a complex manifest using a combination of ingredients and parents. If those ingredients already contain manifest stores, they will be brought in as .c2pa files referenced via the manifest_data field. So you can create complex trees. Any file with an existing manifest store, can be referenced as an ingredient, bringing with it all the associated manifests.

gpeacock avatar May 09 '23 00:05 gpeacock