php manual推荐
使用imagesetstyle() 和 imageline() 的组合替代之。$w = imagecolorallocate($image, 255, 255, 255);
$red = imagecolorallocate($image, 255, 0, 0);
$style = array($red, $red, $red, $red, $red, $w, $w, $w, $w, $w);
imagesetstyle($image, $style);
imageline ( $image, 30, 50, 180, 50,IMG_COLOR_STYLED );
使用imagesetstyle() 和 imageline() 的组合替代之。$w = imagecolorallocate($image, 255, 255, 255);
$red = imagecolorallocate($image, 255, 0, 0);
$style = array($red, $red, $red, $red, $red, $w, $w, $w, $w, $w);
imagesetstyle($image, $style);
imageline ( $image, 30, 50, 180, 50,IMG_COLOR_STYLED );
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货