shannonturner / text-to-bitmap

Encodes your secret message or file as an image
http://shannonturner.github.io/text-to-bitmap/
MIT License
8 stars 0 forks source link

image to text #10

Closed shannonturner closed 10 years ago

shannonturner commented 10 years ago

Photos/images are just as important as text to be able to safely encode / obfuscate.

Since PNG images can be encoded as base64 plaintext, it's not that big of a leap to consider other ways of encoding an image (or re-encoding the base64) into text that would obfuscate the original image.

shannonturner commented 10 years ago

I took a slightly different approach than outlined in this issue originally.

First I encoded the bytes directly to an ord value similar to text_to_bitmap.simple_encode(), then applied a universal char_offset. Then I had 'text' that I could then turn into a bitmap.

Reversing the process gives me the original file.

This issue is now resolved by commit 40516405e