You could transform the image file into a byte stream, encrypt that byte stream, and then write out a .DAT file. To view the image you would just run the process in reverse, open the dat file, unencrypt the data and save the file back out as a .jpg or whatever.
-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
^^Thats my signature
|