ASCII art is a technology that uses computer printable characters (generally 96 printable characters in ASCII Code) to express graphics. The traditional ASCII art is based on htmlCodeHowever, due to the differences between different browsers, the ASCII art that can be perfectly displayed in one browser is beyond the reach of other browsers. In the web era, CSS should be used mostly.ArticleBecause the current mainstream browsers support CSS very consistent, using CSS to implement ASCII art can better maintain compatibility between different browsers.
It is hard to imagine that the image below is made of ASCII art. Of course, for convenience, I use images. The original ASCII art edition can be seen here.
Jpeg2css is a very interestingProgram, You provide a black and white jpg image to it. Within a few seconds, you can generate an HTML webpage file, on this page, you can see almost identical ASCII art images with the source jpg image, and it is based on CSS, so you don't have to worry about compatibility between the ASCII art in different browsers.
More ASCII art based on CSS(The original CSS version can be seen here)
Jpeg2css:
Http://www.romancortes.com/ficheros/jpeg2css.zip
Material from: http://www.romancortes.com/blog/tag/css/
Compiled by comsharp CMS official website