Crates.io | c2patool |
lib.rs | c2patool |
version | 0.23.2 |
created_at | 2022-06-10 01:22:07.103083+00 |
updated_at | 2025-09-24 20:01:42.813069+00 |
description | Tool for displaying and creating C2PA manifests. |
homepage | https://contentauthenticity.org |
repository | https://github.com/contentauth/c2pa-rs/tree/main/cli |
max_upload_size | |
id | 603117 |
size | 3,855,049 |
C2PA Tool, c2patool
, is a command line tool for working with C2PA manifests and media assets (audio, image or video files).
Use the tool on a file in one of the supported formats to:
For a simple example of calling c2patool from a Node.js server application, see the c2patool-service-example repository.
Additional documentation:
To install a prebuilt binary of C2PA Tool:
c2patool-vx.y.z-universal-apple-darwin.zip
c2patool-vx.y.z-x86_64-pc-windows-msvc.zip
c2patool-vx.y.z-x86_64-unknown-linux-gnu.tar.gz
c2patool
executable file to a location on your PATH
.c2patool -h
You may need to set execution permission for the tool on your system. For macOS, see If you want to open an app that hasn’t been notarized or is from an unidentified developer.
NOTE: You also may want to get some of the example files provided in the repository sample
directory. To do so, clone the repository with git clone https://github.com/contentauth/c2pa-rs.git
.
Instead of installing a prebuilt binary, you can build the project from source.
To display the version of C2PA Tool that you have, enter this command:
c2patool -V
The tool will display the version installed. Compare the version number displayed with the latest release version shown in the repository releases page filtered for c2patool. If you don't have the latest version, simply reinstall to get the latest version.