ASCII art generator for PHP: Generate a text that looks like a given image

Recommend this page to a friend!

Picture of Artur Graniszewski
Name: Artur Graniszewski is available for providing paid consulting. Contact Artur Graniszewski .
Classes: 14 packages by
Country: Poland Poland
Age: 38
All time rank: 2955 in Poland Poland
Week rank: 136 3 in Poland Poland
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

  Detailed description   Download .zip .tar.gz   Install with Composer  
This class can generate a text that looks like a given image.

It traverses the pixels of a given image and converts the color values of each region to a character text, so when you look at the sequence of converted characters it looks like the original image.

The result text can optionally be outputted formatted as HTML and be displayed in color.

  Classes of Artur Graniszewski  >  ASCII art generator for PHP  >  Download .zip .tar.gz  >  Support forum (6)  >  Blog  >  Latest changes  
Name: ASCII art generator for PHP
Base name: ascii-art-generator
Description: Generate a text that looks like a given image
Version: 1.0
PHP version: 5.2
License: GNU Lesser General Public License (LGPL)
All time users: 1375 users
All time rank: 2805
Week users: 0 users
Week rank: 257
  Groups   Screenshots   User ratings  
  Dependencies   Applications   Related pages   Files  

HTML HTML generation and processing View top rated classes
PHP 5 Classes using PHP 5 specific features View top rated classes
Graphics Colors, images, charts and picture formats View top rated classes
Text processing Manipulating and validating text data View top rated classes

File Role Description
ascii_art.jpg Screen Sample output of the ASCII generator

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (81%) Good (81%) - Good (87%) - - Not sure (57%) 1607
Month: Not yet rated by the users

  Packages needed by this class  
Class DownloadWhy it is needed Dependency
GD2 Imaging .zip .tar.gz GD2 Imaging is used for image quantization (OCR) - this library is provided with the ASCII generator package Required

  Applications that use this package  
No pages of applications that use this class were specified.

If you know an application of this package, send a message to the author to add a link here.

  Related pages  
What is ASCII Art?
Description of ASCII Art on Wikipedia.
Example output
Example image converted to ASCII

File Role Description
ascii_art.php Class Main class of ASCII generator
ascii_art.png Data Characters required by the image quantizator
gd2imaging.php Class GD2 Imaging library (v1.7.1)
example.php Example Example script
example.jpg Photo Image used by the example script

Install with Composer - Download all files: ascii-art-generator.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

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