Hacking JPEG image

October 31, 2012

I’ve read a tutorial on manualy editing JPEGs with plain text editing, sort of blind image hacking. http://www.computerarts.co.uk/tutorials/break-jpeg-code

I looked silly to me, so I tried to write a little python script, that would mimic this technique, dive into JPEG image, took some random parts of the image and cut&paste them somewhere else. The plan was to explore how tweaking with variables will change the output.

Results? All images looked terrible, even though I ended up generating over thousand images. Maybe there are some error in the script. Or perhaps this technique is just inherently flawed.

In any case, the ImageShuffler script is available on github.

Leave a Reply