Login   Register  
PHP Classes
elePHPant
Icontem

Draw Blocks: Generate an image with mapped colored squares

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-11-30 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 319 All time: 6,403 This week: 1,372Up
Version License PHP version Categories  
draw_blocks 0.7GNU General Public Lice...5PHP 5, Graphics
Description Author  

This class can be used to generate a picture with mapped colored squares.

It takes as parameters a text string with several rows of characters and an array that defines to which color each character in the string maps.

The class generates an image with rows of squares colored according to the mapping defined parameter text string and color map array.

The generated image is served as the script output in either GIF, PNG or JPEG formats.

Picture of Andrey Nikishaev
Name: Andrey Nikishaev is available for providing paid consulting. Contact Andrey Nikishaev .
Classes: 13 packages by
Country: Ukraine Ukraine
Age: 28
All time rank: 2447 in Ukraine Ukraine
Week rank: 301 Down7 in Ukraine Ukraine Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Screenshots  
  • xz.png
  • blocks.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file blocks.php Class class
Accessible without login Plain text file example.php Example example
Plain text file example2.php Example generating from jpg picture

 Version Control Unique User Downloads Download Rankings  
 0%Total:319All time:6,403
 This week:0This week:1,372Up