PHP Classes
elePHPant
Icontem

Draw Blocks: Generate an image with mapped colored squares

Recommend this page to a friend!
  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,822 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 <contact>
Classes: 13 packages by
Country: Ukraine Ukraine
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:322
This week:0
All time:6,822
This week:1,107Up