PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 328 All time: 7,159 This week: 455Up
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: 38
All time rank: 2556 in Ukraine Ukraine
Week rank: 360 Down4 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Screenshots  
  • blocks.jpg
  • xz.png
  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:328
This week:0
All time:7,159
This week:455Up