contentauth / c2pa-python

Python binding for c2pa-rs library
Apache License 2.0
23 stars 7 forks source link

New API model with Builder and Reader #15

Closed gpeacock closed 3 months ago

gpeacock commented 4 months ago

This is the new cross platform API built on streams. The Builder class is used to construct new manifests. You can add other ingredients and resources (like thumbnails) directly to the Builder. The Builder can be saved to an archive and restored for continued work. The signer now keeps the private key out of the API and allows for remote calls. You can read resources like thumbnails directly from the Reader without forcing file I/O. We will be expanding on this model over time.