PHP Classes

Draw Blocks: Generate an image with mapped colored squares

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 322 All time: 6,702 This week: 1,107Up
Version License PHP version Categories  
draw_blocks 0.7GNU General Publi...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: 30
All time rank: 2486 in Ukraine Ukraine
Week rank: 229 Up6 in Ukraine Ukraine Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  • 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:322All time:6,702
 This week:0This week:1,107Up