PHP绘制渐变颜色图片
使用范例如下,基本函数封装在gd-gradient-fill.php中,require_once("/path/to/gd-gradient-fill.php");$image=newgd_gradient_fill($width,$height,$direction,$startcolor,$endcolor,$step);gd_gradient_fill有5个必要参数和一个可选参数:integer $widthWidth of the image in...