Simon Kellet 2 weeks ago
parent f98015527f
commit c6ffd29fe9
  1. 20
      README.md

@ -9,18 +9,22 @@
## Usage ## Usage
1. Build the project 1. Build the project
'''bash
go build ```bash
''' go build
```
2. Run the command 2. Run the command
'''bash
```bash
$ ./glitch_img $ ./glitch_img
Usage: go run main.go <source-file> <number-of-copies> <shit-size> <iterations> Usage: go run main.go <source-file> <number-of-copies> <shit-size> <iterations>
''' ```
### Example ### Example
'''bash ```bash
./glitch*img img.jpeg 100 30 2 ./glitch*img img.jpeg 100 30 2
''' ```
Outputs 100 images into a destination folder \_output* with 30 random bytes of data, running through the file twice
Outputs 100 images into a destination folder _output_ with 30 random bytes of data, running through the file twice

Loading…
Cancel
Save