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. |