5-in-5 Day 1

sean
sean
Aug 31, 2018 · 2 min read

For 5-in5 I’ve decided to focus on themes of loss and irreproducible artifacts. I’m hoping to explore this through various mediums and techniques. Let’s see what happens.

For day 1 I worked on a batch image glitching desktop application. While not technically malware, it’s close. You open up the application and are shown a warning that what you’re about to do will permanently change images on your computer, and asks if you’d like to continue.

Warning message when the app is opened

If you click “OK” you’re taken to the only screen in the application, which has an input field for the user to enter a folder path:

Home screen

The user can enter a folder path like so:

Home screen with typed path

The code is fairly simple: it opens up the specified folder, loops through all the images, loads the buffers, and randomly switches 20 characters in the image file. This process is a randomized form of traditional image glitching, where people would open up image files in text editors and change characters, tweaking the image data to manipulate the image. Here’s a look at the code:

The code

This is the result, the images before and after:

Before
After

Lastly, the code can be found here.

im the guy who sucks. plus i got depression. http://twotabsofacid.com

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade