Login   Register  
PHP Classes
elePHPant
Icontem

ASCII art generator for PHP

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Artur Graniszewski
Name: Artur Graniszewski is available for providing paid consulting. Contact Artur Graniszewski .
Packages: 13 Browse all classes by Artur Graniszewski Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: 31
All time rank: 3879 in Poland Poland
Week rank: 62 Up2 in Poland Poland Up
Innovation award
Innovation award
Nominee: 7x

Winner: 1x


  Detailed description   Download .zip .tar.gz  
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 Support forum (6)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed 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: 930 users
All time rank: 3376
Week users: 3 users
Week rank: 952 Up
 
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Dependencies   Applications   Related links   Files Files  

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

  Files folder image Screenshots  
Sample output of the ASCII generator
File Role Description
Accessible without login Image file ascii_art.jpg Screen Sample output of the ASCII generator


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (95.8%)
Good (91.7%)
-
Good (87.5%)
-
-
Sufficient (65.8%)
421
Month:
Not yet rated by the users

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

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

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

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

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