PHP Classes

Image to ASCII text: Render an image using ASCII characters

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-02-23 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,303 All time: 2,764 This week: 1,439Up
Version License PHP version Categories  
imgascii 1Freeware3Graphics, Text processing
Description Author  

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: 29
All time rank: 175369 in Italy Italy
Week rank: 1826 Down78 in Italy Italy Down
Innovation award
Innovation award
Nominee: 1x

  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  
 0%Total:1,303All time:2,764
 This week:0This week:1,439Up