-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
Description
I have been playing with the library on some OpenAI-generated images, such as:
As the title says, I am able to read the C2PA manifest from the CLI, but not from the Python bindings.
I have run the following command:
c2patool /path/to/image.pngwhich works fine and returns the manifest as a JSON string.
Then, I have run:
import c2pa
try:
reader = c2pa.Reader.from_file("path/to/image.png")
print("manifest store:", reader.json())
manifest = reader.get_active_manifest()
except Exception as e:
print(e)which throws an error with message reason='claim could not be converted from CBOR'.
a-ozbek and ilic5000
