imagecolorclosestalpha

(PHP 4 >= 4.0.6, PHP 5)

imagecolorclosestalpha -- 取得与指定的颜色加透明度最接近的颜色

说明

int imagecolorclosestalpha ( resource image, int red, int green, int blue, int alpha )

返回图像调色板中与指定的 RGB 值以及 alpha 深度最“接近”的颜色。

注: 本函数需要 GD 2.0.1 或更高版本。

参见 imagecolorexactalpha()


add a note add a note User Contributed Notes
There are no user contributed notes for this page.