It can create rectangle, ellipse, vertical, horizontal or diamond shaped gradients.
Here are some key features of "GD Gradient Fill":
· Width and height : integers, dimensions of the image.
· Direction : string, shape of the gradient.
· Can be : vertical, horizontal, rectangle (or square), ellipse, ellipse2, circle, circle2, diamond.
· Startcolor : string, start color in 3 or 6 digits hexadecimal.
· Endcolor : string, end color in 3 or 6 digits hexadecimal.
· Step : integer, optional, default to 0. Step that breaks the smooth blending effect.
Requirements:
· GD library
What's New in This Release: [ read full changelog ]
· Changed : more nicely packaged as a class
· Fixed : not displaying proper gradient colors with image dimension greater than 255 (because of a limitation in imagecolorallocate)
· Added : optional parameter 'step', more options for 'direction'