导航首页 » 技术教程 » PHP:imagefilltoborder()的用法_GD库图像处理函数
PHP:imagefilltoborder()的用法_GD库图像处理函数 151 2023-12-15   

imagefilltoborder

(PHP 4, PHP 5)

imagefilltoborder — 区域填充到指定颜色的边界为止

说明

bool imagefilltoborder ( resource $image , int $x , int $y , int $border , int $color )

imagefilltoborder()xy(图像左上角为 0, 0)点开始用 color 颜色执行区域填充,直到碰到颜色为 border 的边界为止。【注:边界内的所有颜色都会被填充。如果指定的边界色和该点颜色相同,则没有填充。如果图像中没有该边界色,则整幅图像都会被填充。】


!!!站长长期在线接!!!

网站、小程序:定制开发/二次开发/仿制开发等

各种疑难杂症解决/定制接口/定制采集等

站长微信:lxwl520520

站长QQ:1737366103