You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon Kellet e0d4d2d989 error handling for zero bytes 1 month ago
.gitignore ignore changes 1 month ago
README.md added new functionality 1 month ago
ffmpeg.go png support 1 month ago
glitch.go better glitching algorithm 1 month ago
go.mod init 1 month ago
main.go error handling for zero bytes 1 month ago
util.go changes 1 month ago

README.md

Image Glitcher

Requirements

  • Go (version 1.24 onwards)
  • ffmpeg
  • Love in your heart

Usage

  1. Build the project
go build
  1. Run the command
$ ./glitch_img
Usage: go run main.go <source-file> <number-of-copies> <shit-size> <iterations>

Example

./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