Fetch all thumbnails from the file signed with C2PA.
cargo install --git https://github.com/SmartFrame-Technologies/c2pa-thumbs.git
cargo buildRun from the command line
c2pa-thumbs {file-path}The output of the command contains JSON encoded with 2 keys:
{
"thumbnail": "main_thumbnail_base64_encoded_source",
"thumbnails": [
"ingrendient_thumbnail_base64_encoded_source",
"ingrendient_1_thumbnail_base64_encoded_source",
"..."
]
}This application uses the c2pa repository. Look into the Cargo.toml file to see the full list of dependencies.