Skip to content

Commit

Permalink
docs(README.md): provide files for CLI example
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent10400094 authored Dec 13, 2021
1 parent 0dc8906 commit 1a97fab
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ In command line run:
$ c2pa [-h] [-a ASSERTION] [--provider PROVIDER] [--recorder RECORDER] [-k KEY] [-c CERT] [-i INJECT] [-d]
```

### Preparation
### Example

Files used in the following examples are provided in [example.zip](https://github.com/numbersprotocol/pyc2pa/files/7702158/example.zip)

```
$ unzip example.zip
$ cd example
```

Generate private key and certificate.

Expand All @@ -42,8 +49,6 @@ Generate thumbnail image.
$ convert -resize 1024x768 meimei-fried-chicken.jpg c2pa.thumbnail.claim.jpeg.jpg
```

### Example

Generate meimei-fried-chicken-cai.jpg containing single C2PA injection.

```
Expand Down

0 comments on commit 1a97fab

Please sign in to comment.