CSS-based ASCII Art

Source: Internet
Author: User
Tags printable characters

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.