This commit is contained in:
Simon Kellet 2025-01-09 19:02:07 +00:00
parent f98015527f
commit c6ffd29fe9

View File

@ -9,18 +9,22 @@
## Usage
1. Build the project
'''bash
go build
'''
```bash
go build
```
2. Run the command
'''bash
```bash
$ ./glitch_img
Usage: go run main.go <source-file> <number-of-copies> <shit-size> <iterations>
'''
```
### Example
'''bash
```bash
./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