PHP Classes

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

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (7)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 1,441 All time: 2,712 This week: 75Up
Version License PHP version Categories
ascii-art-generator 1.0GNU Lesser Genera...5.2HTML, PHP 5, Graphics, Text processing
Description 

Author

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.

Picture of Artur Graniszewski
  Performance   Level  
Name: Artur Graniszewski is available for providing paid consulting. Contact Artur Graniszewski .
Classes: 14 packages by
Country: Poland Poland
Age: 41
All time rank: 2874 in Poland Poland
Week rank: 37 Up1 in Poland Poland Up
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

Screenshots  
  • ascii_art.jpg
  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

Downloadascii-art-generator-2011-11-15.zip 171KB
Downloadascii-art-generator-2011-11-15.tar.gz
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
GD2 Imaging Download .zip .tar.gz GD2 Imaging is used for image quantization (OCR) - this library is provided with the ASCII generator package Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,441
This week:0
All time:2,712
This week:75Up
User Ratings User Comments (6)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:88%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1357
 
Very simple and good.
1 year ago (Teste)
70%StarStarStarStar
A very simple to use class for generating 1st class ascii art.
12 years ago (Raul Hofsem)
70%StarStarStarStar
nice realization of old idea
12 years ago (Andrei Bratchuk)
55%StarStarStar
Really amazing!
12 years ago (Denis Dantas Uyeda)
65%StarStarStarStar
Clean, good style, tested.
12 years ago (goodbee)
70%StarStarStarStar
Amazing!!!
12 years ago (Moises Jafet)
70%StarStarStarStar