PHP Classes

Image2Char: Convert image to HTML with ASCII art characters

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-05-19 (9 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 405 All time: 6,139 This week: 1,083Up
Version License PHP version Categories
image2char 1.0GNU General Publi...4.2HTML, Graphics
Description Author

This class can be used to convert an image to HTML with ASCII art characters.

It can open image files in the GIF, JPEG and PNG formats, traverse the grid of pixels of the image, and generate HTML with text coloring tags that make appear the images as an ASCII art grid of characters.

The characters that used to render the ASCII art grid are picked randomly from a given text string.

Picture of Enéas Gesing
Name: Enéas Gesing <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 29
All time rank: 43237 in Brazil Brazil
Week rank: 442 Down34 in Brazil Brazil Up

  • screenshoots/screenshoot3.jpg
  • screenshoots/screenshoot2.jpg
  • screenshoots/screenshoot1.jpg
  Files folder image Files  
File Role Description
Files folder imagedocs (1 file)
Accessible without login Plain text file example.php Example Usage Example
Accessible without login Plain text file image2html.class.php Class Class File

  Files folder image Files  /  docs  
File Role Description
  HTML file Using_Image2HTML_class.htm Doc. How to use the class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,139
This week:1,083Up