JPG Hacking
- Started
- Last post
- 22 Responses
- vaxorcist0
PHP, using some image libraries can do quite a bit on the server-side....
- armsbottomer0
i messed around with glitching jpgs a while back. i started by just manually editing the text info, but then just wrote some php and processing apps that subtly randomized the byte info and saved the manipulated images. then i filtered the difference between the two text files to see where the changes were. it was still far from meaningful, but creating a basic app to do your dirty work for you is a much more rapid way of finding out what text corresponds to which part of an image in an image text file.
- i only used php bc it was a dynamic app that scraped images from the web. i'd recommend using processing.armsbottomer
- acescence0
try a hex editor instead of plain text
- ribit0
what if you could reverse engineer it so you just draw the hack you want in the image window and it updates the file code for you? oh, wait..
- uan0
/www... means
/wallace.ps.gz
- uan0
maybe you find something in the source of jpeg:
Wallace, Gregory K. "The JPEG Still Picture Compression Standard",Communications of the ACM, April 1991 (vol. 34 no. 4), pp. 30-44.
ftp://ftp.uu.net/graphics/jpeg/w...
- lvl_130
I would think opening up another image. Finding the right spot in the code where the pic is your desired color and then comparing it to your first image. I'm not sure if that makes any sense, but it makes sense to me ahaha
- LOKi0
well, I've kinda figured out how to move parts of the image around just by copying and pasting large chunks of code, but i was hoping some people might no what character combinations cause other effects like the patterning and colour variations.
- miesvan0
i like "specific hacks"...
- lvl_130
it really gets fucked when you copy and paste from one image to another
- lvl_130
this is pretty cool.
by copying and pasting you can create the infamous pizel stretch hahaha
- digdre0
Rand, i'm sure someone here on qbn is able to make this.
no?
how about we ask around?
- sykosis0
This is a great idea. With older phase one backs you used to get black calibrations... if you over shot the image. People still want and try to achieve this effect. Maybe this hacking the file thing will bring upon a new trend.
- LOKi0
@skima, that's exactly what I'm doing, but I'm wondering if anyone knows what the gibberish means. Currently I've pretty much figured out placement, but not sure what represents colour etc.
@digdre yeah, I remember seeing you playing with it in the Show some recent work thread. Any tips?
- digdre0
stay away from the first 1000 chars or so, otherwise your file goes corrupt
- digdre0
I invented it
- sikma0
open the jpg file in a text editor and just mess with the code, then resave it
nothing to it
- designbot0
why not mess around with creating Photoshop scripts? Seems like the easiest way to try and create a similar effect.