Thursday, February 07, 2013

Controlled Corruption: Mass JPG Killer (Batch Glitch)

A simple glitch tool that lets you load a binary file (e.g. JPG), and then "glitch" it in a similar way eight times simultaneously.

An offset can be set, so as to bypass glitching the header component of a file. 

The "glitch" is a repeating byte (from 00 - FF) inserted at repeating period of X number of bytes.

This byte is a replacement byte i.e. no other bytes are moved, only the byte at X period length is replaced.

Thus, things can be explored, like:
• identical period length, different byte "corruption"
• identical byte value "corruption", different period length
• phase interactions and file structure using diferent period lengths
• and so on

Usage is simple:
• Click on "read" to read a binary file such as a JPG
• Set an offset in the master section (the upper row in line with read) - this will set the offset for all eight outputs
• Suggested offset is around 2000 bytes
• Set a data in the master section (the upper row in line with read) - this will set the data byte that is used for replacement i.e. inserted into as a "corruption" for all eight outputs
• Set a period in the master section (the upper row in line with read) - this will set the period length of the repeating glitch where the data is inserted into the file
• Suggested minimum period length is around 100 - 200 bytes
• You can also change these values individually for each eight outputs
• Once happy with the settings, hit the toggle next to read (the little square).
• The patch will generate eight text file windows with hex values in them.
• Copy and past the first one
• Open up Hexfiend
• Create a new Hexfiend file
• Paste into the hex area
• Save as a blah.jpg
• Repeat the last five steps for separate text file inputs and .JPG hex data outputs, saving each one to a new .JPG file
• Note that not all of the outputs will always result in readable files!
•Experiment :D

Download the Max patch here:

Download hex fiend from over here:

The Max patch requires Max 6 or the free Max 6 runtime

You can see some example output here:

More examples by Diode Milliampere:


king abdaoe said...

Thanks very possible, please visit my
humble blog

منتديات مصراوى توب

منتديات مصراوى توب

منتديات مصراوى توب

Unknown said...

thank you for this! awesome.

Unknown said...

thanks for this! awesome.