PHP Classes

Image to ASCII text: Render an image using ASCII characters

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,333 All time: 2,904 This week: 524Up
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: 39
All time rank: 188073 in Italy Italy
Week rank: 180 Up7 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x

Details

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 caltabianosalvatore@interfree.it Have fun!

  Files folder image Files (6)  
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 (6)  /  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 (6)  /  source  
File Role Description
  HTML file original_index.php Class The oringial php file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,333
This week:0
All time:2,904
This week:524Up