I would like to be able to take a stream of 1's and 0's and convert it to a format that jpg can read, I.E. suppose I wrote a program and compiled and got an exe, then took and ran the 1's and 0's from the exe through said program, it would produce a .jpg. Any tips on what I need to do? I am hoping it's not as difficult as I'm suspecting it is.
Update: Suppose you took any old image, and brought it down to the (I suppose) Raw format, just one's and zero's, now suppose you took those 1's and 0's and somehow decoded them what kind of program would you get (obviously not a functioning one), but now I was thinking suppose we went the other way and took a .exe and lined all the 1's and 0's in some format that an "image" looks like, is it possible to see a picture, that's what I would like to discover. (I hope that explains what I'm interested in), so no the format doens't really matter, it could be bmp for all I care, just I want to see if there is in any way an image in a program that is distinguishable in a program.