Skip to content

SmartFrame-Technologies/c2pa-thumbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

c2pa-thumbs

Fetch all thumbnails from the file signed with C2PA.

Installation

    cargo install --git https://github.com/SmartFrame-Technologies/c2pa-thumbs.git

Build package

    cargo build

How to use it

Run from the command line

  c2pa-thumbs {file-path}

Result

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",
        "..."
    ]
}

Dependencies

This application uses the c2pa repository. Look into the Cargo.toml file to see the full list of dependencies.

About

Fetch all thumbnails from the file signed with c2pa.

Resources

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages