Page 1 of 1

Picture encoding. A must read....

Posted: Wed Jul 16, 2008 8:12 pm
by Dynamis
I have been working on this for a few days now and I finally finished it. I'm pretty excited to present this to a limited public. The possibilities for its use are endless! Enjoy, give me feedback, and let me know what you think.

Text inside picture - Image Encoding

Re: Picture encoding. A must read....

Posted: Wed Jul 16, 2008 9:17 pm
by jack_indigo
Steganagraphy, right?

Re: Picture encoding. A must read....

Posted: Wed Jul 16, 2008 9:18 pm
by JAB Creations
Now that is pretty dam nifty.

I have a secret message for you and the password is composed of the first six digits of the password from SpaceBalls...

*EDIT* - I shouldn't have saved with the default file name...gah what a noob mistake to make. :|

Re: Picture encoding. A must read....

Posted: Wed Jul 16, 2008 9:25 pm
by Dynamis
jack_indigo wrote:Steganagraphy, right?
Of course. I am going to add more image formats hopefully, and eventually make a version where you can encode a picture inside a picture... I'm not going to say what the possibilities are for that, but lets say its used quite often for illegal activities. I'm sure it has other possibilities as well. Any other ideas?

Re: Picture encoding. A must read....

Posted: Thu Jul 17, 2008 1:51 pm
by Mordred
Steganography.

The script's not actually working though.

Also, as all cryptography-related things old and open is better than new and closed.

Re: Picture encoding. A must read....

Posted: Thu Jul 17, 2008 2:00 pm
by Dynamis
It appears some special characters do not work. If you type in regular sentences, it works. I haven't gone through all the specifics yet, this is just a first release I quickly finished last night. I'll look into it more as what does and does not work.

Re: Picture encoding. A must read....

Posted: Fri Jul 18, 2008 2:53 am
by Mordred
No, by "not working" I mean it gives me a desktop screenshot instead of the bitmap I uploaded, and when I feed it back the desktop bmp with the password it just returns rubbish.

Re: Picture encoding. A must read....

Posted: Fri Jul 18, 2008 7:45 am
by Dynamis
Mordred wrote:No, by "not working" I mean it gives me a desktop screenshot instead of the bitmap I uploaded, and when I feed it back the desktop bmp with the password it just returns rubbish.
I have no idea what you are doing then. There definitely is no code to return a screen shot of your desktop. The code merely edits the .bmp byte array. The only type of picture you should get back is the encoded .bmp or nothing at all, please give me more detail on what you are doing exactly to get a screen shot of your desktop?

Re: Picture encoding. A must read....

Posted: Fri Jul 18, 2008 8:05 am
by Mordred
Not my desktop, a desktop. It was apparently the same image JAB used before me, and a bug in your code served me that.

Re: Picture encoding. A must read....

Posted: Fri Jul 18, 2008 8:26 am
by Dynamis
Oh, I understand now. Yes, my code overwrites the image it displays every time, so if one person were to lag while another was encoding a picture elsewhere, you might get their picture displayed. I will change how that works as well.

Re: Picture encoding. A must read....

Posted: Fri Jul 18, 2008 9:32 am
by onion2k
I wrote a steganography script once. http://www.ooer.com/13/Steganography-With-GD/1

Re: Picture encoding. A must read....

Posted: Fri Jul 18, 2008 11:04 am
by alex.barylski
I've seen something like this years ago on the screen savers...

Would it actually work with JPEG? Wouldn't being a lossy compression have a obfuscating effect on the password?

Re: Picture encoding. A must read....

Posted: Fri Jul 18, 2008 11:16 am
by onion2k
The way mine works breaks with a jpeg. It uses lowest order bit in the color of each pixel to hide the data. In a jpeg you can't be certain what each color is going to be.

Re: Picture encoding. A must read....

Posted: Fri Jul 18, 2008 12:24 pm
by Zoxive
Hockey wrote:I've seen something like this years ago on the screen savers...

Would it actually work with JPEG? Wouldn't being a lossy compression have a obfuscating effect on the password?
Yea i saw this along time ago on the screen savers too.

You can even hide a file inside a bmp image file.