Skip to content

tobycode/glitch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#glitch.py Randomly changes binary file data in order to create glitch art. ##Usage ./glitch [infile] [percent] [outfile]

	If the script is run with no arguments, you will be prompted for this information.
	infile: the file you wish to corrupt.
	percent: the overall percentage of bits you wish to corrupt
	outfile: the corrupted output file

Play around with different values for percent, 0.1 seems to work okay for most image formats, 0.01 worked okay for avi video. Occasionally, this script can render files unreadable, so be careful not to overwrite any important data. Any corruptions are done at your own risk. This script has been tested against Python3 on Windows, but should work just fine on other platforms.

About

Randomly changes binary file data in order to create glitch art.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%