Image to Text Thing
Posted: Tue Jan 25, 2005 9:31 pm
I had/might still have a goal, which is to make a sprite ripping program. What it'd do is load, say, a screen shot of a game. Then it'd divide it up into 16x16 pieces, and make each piece an array. Next, it'd compare every part of the array and delete any parts that it has a copy of, to keep from ripping multiple of the same tile. Then, one by one, with each array that doesn't have a match; it'd draw to the screen, and save to a .bmp. You would still get some junk tiles, but you'd basically get all of them on the screen. (Junk tiles, as in, it making separate tiles out of where your mouse is, or your character). But that'd be okay, I guess, you can just delete them....Anyway, to do that, I decided to make a few practice programs first.
My first attempt failed so bad that my computer froze and i had to reboot.
My second attempt actually did pretty good, and I even remembered to lock buffers this time. Anyway, my second attempt actually developed into a sub-par program that might actually be useful. What I did was practice making images text and back. So I made it so you can load an image, convert and save it as ASCI text, delete the original image and still be able to view the image in the program.(the RGB of each pixel of teh image is saved, when loaded they are put into an array and redrawn.)
Anyway, to make a long story short, I have an image encryptor type deal. If you have a picture or something you don't want to be found, or you just want to mess around, take the image, name it "JD" (don't ask why I chose that name. o.o) and then run the program. It'll prompt you for a username and password, if the password is incorrect, it'll instantly close. If correct, it'll open a menu. It tells the valid command. Anyway, hit the "1" button (load an image into the array), then hit "f1" (save image to a text file). Now, hit "esc" (terminate program) and delete the image. Open the program again, this time hit "f2" (load .txt file into array) and "s" to view. (Don't worry, the main menu has a display of commands.) And if you have multiple saved .txt files that you want to view, once you are viewing an image, use arrows to scroll through them. Below, hopefully, will be some screenz.
What is the point of this program? It was originally intended for practice, as mentioned above. But, as i said, it may be useful. because it is password protected, and it allows you to delete the original image and still view it, it's pretty good. And, it saves it with ASCII, making it appear as hundreds of unreadable symbols. This would be perfect for...say..hiding an image? Why would you want to hide an image? Use your imagination.
Okay, be happy everyone, I used paragraphs. NO COMPLAINING THIS TIME!
YES! Yay for free image hosting!
That is a picture of that ghetto password box. But it works aight.
A picture of the main menu. I shrank all these pictures a little, I hope youc an still read it. remember, this program took under 30 minutes to make, it works, but isn't pretty (without pretty pictures, that is. )
Just to show you, ANY unsuspecting person would not think THIS is an image. Seriously, who would make a whole program to decode that garbage, not even knowing if it's an image? o.o
Anyway, I would post a picture of what it looks liek when you view an image, but I don't have any good ones for POSTING. So, use your imagination.
Anyone actually WANT that random program? Tell me, I'll e-mail it. Zipped, it's about 400 KB.
It's getting late, so night. Please vote on the poll, I don't care what you say, because I didn't intend to make a USEFUL program. But now that it's make, I want to know if it IS actaully useful to anyone.
My first attempt failed so bad that my computer froze and i had to reboot.
My second attempt actually did pretty good, and I even remembered to lock buffers this time. Anyway, my second attempt actually developed into a sub-par program that might actually be useful. What I did was practice making images text and back. So I made it so you can load an image, convert and save it as ASCI text, delete the original image and still be able to view the image in the program.(the RGB of each pixel of teh image is saved, when loaded they are put into an array and redrawn.)
Anyway, to make a long story short, I have an image encryptor type deal. If you have a picture or something you don't want to be found, or you just want to mess around, take the image, name it "JD" (don't ask why I chose that name. o.o) and then run the program. It'll prompt you for a username and password, if the password is incorrect, it'll instantly close. If correct, it'll open a menu. It tells the valid command. Anyway, hit the "1" button (load an image into the array), then hit "f1" (save image to a text file). Now, hit "esc" (terminate program) and delete the image. Open the program again, this time hit "f2" (load .txt file into array) and "s" to view. (Don't worry, the main menu has a display of commands.) And if you have multiple saved .txt files that you want to view, once you are viewing an image, use arrows to scroll through them. Below, hopefully, will be some screenz.
What is the point of this program? It was originally intended for practice, as mentioned above. But, as i said, it may be useful. because it is password protected, and it allows you to delete the original image and still view it, it's pretty good. And, it saves it with ASCII, making it appear as hundreds of unreadable symbols. This would be perfect for...say..hiding an image? Why would you want to hide an image? Use your imagination.
Okay, be happy everyone, I used paragraphs. NO COMPLAINING THIS TIME!
YES! Yay for free image hosting!
That is a picture of that ghetto password box. But it works aight.
A picture of the main menu. I shrank all these pictures a little, I hope youc an still read it. remember, this program took under 30 minutes to make, it works, but isn't pretty (without pretty pictures, that is. )
Just to show you, ANY unsuspecting person would not think THIS is an image. Seriously, who would make a whole program to decode that garbage, not even knowing if it's an image? o.o
Anyway, I would post a picture of what it looks liek when you view an image, but I don't have any good ones for POSTING. So, use your imagination.
Anyone actually WANT that random program? Tell me, I'll e-mail it. Zipped, it's about 400 KB.
It's getting late, so night. Please vote on the poll, I don't care what you say, because I didn't intend to make a USEFUL program. But now that it's make, I want to know if it IS actaully useful to anyone.