Skip to content

Commit

Permalink
Update readme for new api
Browse files Browse the repository at this point in the history
  • Loading branch information
LeviBorodenko committed Dec 25, 2021
1 parent a21a56d commit 43227ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,11 @@ optional arguments:
--output-file OUTPUT_FILE, -o OUTPUT_FILE
File name of the file containing the prime.
Made by Levi B.
```

Thus, if you have the source image at `./source.png` and you want to convert it into a prime contained in `./prime.txt` which has at most 5000 digits. Then you should run:

`primify -v --image ./source.png --max-digits 5000 --output-file prime.txt`
`primify --image ./source.png --max-digits 5000 --output-file prime.txt`

### Importing the PrimeImage class

Expand Down

0 comments on commit 43227ff

Please sign in to comment.