---
title: "测试踩踩踩"
author: "yiyickf"
date: "2012-06-05T22:27:39Z"
tags: []
categories: ["非技术"]
slug: "untitled"
draft: false
lastmod: "2012-06-05T22:27:39Z"
id: 1552633
url: "https://yiyickf.iteye.com/blog/1552633"
---

```
//生成图片
	$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);
	}
```

 测试。。。。。。。