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    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 406 All time: 6,432 This week: 794Up
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: 34
All time rank: 45237 in Brazil Brazil
Week rank: 585 Down34 in Brazil Brazil Up


  • screenshoots/screenshoot1.jpg
  • screenshoots/screenshoot2.jpg
  • screenshoots/screenshoot3.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,432
This week:794Up

For more information send a message to info at phpclasses dot org.