Last I recall, there isn't a working way to insert the program inside of the image and have it execute when opened, as the image handler wouldn't have the capability of running it... However, if you made an image viewer, I'm sure that you could code it to allow for such a thing...
I could be wrong about it not currently being possible.. I don't really have much interest in hiding trojans in images....




