Page 1 of 1

IMAGE TO HTML | ASCII ART

Posted: Sat Dec 28, 2013 9:26 pm
by Master M1nd
I want to convert images into HTML (COLORFUL)
I know many sites do that online, But they don't do clearly.

See this: A hacker Named 1337, Do this usually so clearly,
He once hacked honda, and Here it is zone-h,
You can see the flag in it.

http://zone-h.com/mirror/id/20939806

It's purely from HTML, But so clear

Re: IMAGE TO HTML | ASCII ART

Posted: Sun Dec 29, 2013 2:46 am
by Shim
Is this what you're looking for? http://webcodertools.com/imagetobase64converter/Create please explain more. I don't think you can convert images into html coz html can only markup maybe css.

Re: IMAGE TO HTML | ASCII ART

Posted: Sun Dec 29, 2013 7:42 am
by comathi
In this case he's probably using CSS as well, yes.

If you zoom in, you'll notice the image seems to be drawn with only pound signs (#) and they are overlapping.

Re: IMAGE TO HTML | ASCII ART

Posted: Sun Dec 29, 2013 8:49 am
by Master M1nd
mshimranpro: No, I don't want that. I just want : Image To TEXT (HTML)

Comathi: bro, THen how would i do that ? :( :cry: cryer;

Re: IMAGE TO HTML | ASCII ART

Posted: Sun Dec 29, 2013 10:38 am
by Shim
I managed to get the source of that deface page.. he is just using the colors.

here you go

code : https://dl.dropboxusercontent.com/s/6mu ... 20Page.txt

page : https://dl.dropboxusercontent.com/s/908 ... 0Page.html

Re: IMAGE TO HTML | ASCII ART

Posted: Sun Dec 29, 2013 10:54 am
by comathi
Yes, but what I think Master Mind is looking for is actual code for generating ASCII art. I'm on my mobile right now (and will be for the next week or so), so I can't post or test any actual code. I'll post links if I find anything, though.

Edit: http://stackoverflow.com/questions/3948 ... ithms-work

The first answer on that post seems to be a very good starting point.

Edit 2: Part of the code in the following tut by #MrAksel will help you reading pixels from an image: viewtopic.php?f=38&t=8924

That combined with the previous link should be of great use cooll;