PHP Classes

Image to ASCII text: Render an image using ASCII characters

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 1,332 All time: 2,901 This week: 404Up
Version License PHP version Categories
imgascii 1Freeware3Graphics, Text processing


This class can be used to render an image using ASCII characters.

It reads an image in GIF, JPEG or PNG formats, and converts each pixel to an ASCII text character that corresponds to the pixel brightness level.

The class may perform configurable adjustment of brightness and contrast.

The converted ASCII text may be served for download or display in a form text are input to the let the users copy the text easily.

Picture of Salvatore Caltabiano
Name: Salvatore Caltabiano <contact>
Classes: 2 packages by
Country: Italy Italy
Age: 38
All time rank: 187673 in Italy Italy
Week rank: 530 Up27 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x


IMAGE to ASCII - via WEB By Caltabiano Salvatore ------------------------ This is a simply software to convert an image to a ASCII text, using the GD in PHP. If you want to use this software for each way you must have my permission if the use is different from local and personal use. ------------------------ Each advice is good to do, so contact to me at Have fun!

  Files folder image Files  
File Role Description
Files folder imageinclude (2 files)
Files folder imagesource (1 file)
Accessible without login Image file help.gif Data This is the help
Accessible without login Plain text file index.php Example the main, it use the class
Accessible without login Plain text file readMe.txt Doc. Info about the class

  Files folder image Files  /  include  
File Role Description
  Accessible without login Plain text file functions.php Aux. Various functions about image GD lib manipulation
  Plain text file ImageAscii.class.php Class This is the main Class that load and convert the image

  Files folder image Files  /  source  
File Role Description
  HTML file original_index.php Class The oringial php file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,901
This week:404Up