位置: 编程技术 - 正文

PHP:imagefill()的用法_GD库图像处理函数(php中imagecreatefromjpeg)

编辑:rootadmin
imagefill

推荐整理分享PHP:imagefill()的用法_GD库图像处理函数(php中imagecreatefromjpeg),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:php img,php img,php image,php imagettftext,php imagefill,php image,php imagefill,php imagefill,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4, PHP 5)

imagefill — 区域填充

说明 bool imagefill ( resource $image , int $x , int $y , int $color ) PHP:imagefill()的用法_GD库图像处理函数(php中imagecreatefromjpeg)

imagefill() 在 image 图像的坐标 x,y(图像左上角为 0, 0)处用 color 颜色执行区域填充(即与 x, y 点颜色相同且相邻的点都会被填充)。

Example #1 imagefill() 例子

<?php$im=imagecreatetruecolor(,);//将背景设为红色$red=imagecolorallocate($im,,0,0);imagefill($im,0,0,$red);header('Content-type:image/png');imagepng($im);imagedestroy($im);?>

参见 imagecolorallocate()。

PHP:imagedestroy()的用法_GD库图像处理函数 imagedestroy(PHP4,PHP5)imagedestroy销毁一图像说明boolimagedestroy(resource$image)imagedestroy()释放与image关联的内存。image是由图像创建函数返回的图像标识符,例如imag

PHP:imageellipse()的用法_GD库图像处理函数 imageellipse(PHP4=4.0.6,PHP5)imageellipse画一个椭圆说明boolimageellipse(resource$image,int$cx,int$cy,int$width,int$height,int$color)在指定的坐标上画一个椭圆。参数image由图象

PHP:imagecreatetruecolor()的用法_GD库图像处理函数 imagecreatetruecolor(PHP4=4.0.6,PHP5)imagecreatetruecolor新建一个真彩色图像说明resourceimagecreatetruecolor(int$width,int$height)imagecreatetruecolor()返回一个图像标识符,代表

本文链接地址:https://www.jiuchutong.com/biancheng/288351.html 转载请保留说明!

上一篇:PHP:imagefilledellipse()的用法_GD库图像处理函数

下一篇:PHP:imagedestroy()的用法_GD库图像处理函数

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络