图形函数库 ImageColorClosest (PHP3 , PHP4) ImageColorClosest --- 取得最接近指定的颜色的索引值 语法 : int imagecolorclosest (int im, int red, int green, int blue) 说明 : 传回图形的调色盘中,最接近指定的RGB值的颜色索引值。 参考 : imagecolorexact( ) 上一页 首页 下一页
图形函数库
ImageColorClosest
(PHP3 , PHP4)
ImageColorClosest --- 取得最接近指定的颜色的索引值
语法 : int imagecolorclosest (int im, int red, int green, int blue)
int imagecolorclosest (int im, int red, int green, int blue)
int imagecolorclosest
说明 :
传回图形的调色盘中,最接近指定的RGB值的颜色索引值。
参考 : imagecolorexact( )