Login   Register  
PHP Classes
elePHPant
Icontem

Gradient Image: Generate images with gradient sequence of colors

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-03-13 (10 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 2,020 All time: 1,817 This week: 1,467Up
Version License Categories  
gradient_image 1.0GNU General Public Lice...Graphics
Description Author  

This class is meant to generate images that are made color that appear in gradient sequence.

The class takes the initial and end colors and renders a true color image with the GD extension that is filled with intermediate colors between the initial and end areas of the image.

The gradient fill can be rendered horizontally or vertically. The number of the gradient steps is also configurable.

The generated image can be saved in PNG or JPEG formats.

This class is based on the original Create Gradient class by Michael Feinbier.

The comments in the code are in Portuguese.
Class to create gradient images from two hex colors, using the specified number of steps.

Picture of Fabricio Biazzotto
Name: Fabricio Biazzotto <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 35
All time rank: 134992 in Brazil Brazil
Week rank: 1723 Down134 in Brazil Brazil Down

  Files folder image Files  
File Role Description
Plain text file class.gradient_image.php Class Class to create gradient images.
Accessible without login Plain text file image.php Example Just a simple example of use

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1Total:2,020All time:1,817
 This week:0This week:1,467Up
User Ratings User Comments (2)  
 All time
Utility:90%StarStarStarStarStar
Consistency:86%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:760
 
Great utility.
4 years ago (Kristoffel)
67%StarStarStarStar
Just what I was looking for.
5 years ago (wsjb78)
65%StarStarStarStar