ITeye博客

测试踩踩踩

yiyickf · 2012-06-05 22:27 · 非技术 · Markdown

//生成图片
	$im = imagecreate($width, $height);
	imagecolorallocate( $im, rand(50, 70), rand(150, 200), rand(230, 250) );

	//产生干扰素
	for ($i=0;$i<$interferon;$i++) {
		$pixel_color = imagecolorallocate( $im, rand(0, 255), rand(0, 255), rand(0, 255) );
		imagesetpixel($im, rand(0, $width), rand(0, $height), $pixel_color);
	}

 测试。。。。。。。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。