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 51d7b25cba clean up and guard checks 1 week ago
.gitignore ignore mp4 2 weeks ago
README.md added new functionality 2 weeks ago
ffmpeg.go clean up and guard checks 1 week ago
glitch.go clean up and guard checks 1 week ago
glitch_img added new functionality 2 weeks ago
go.mod init 2 weeks ago
main.go clean up and guard checks 1 week ago
util.go clean up and guard checks 1 week 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