imagecolorclosestalpha
imagecolordeallocate
GD and Image 函数
PHP Manual
imagecolorclosesthwb
(PHP 4 >= 4.0.1, PHP 5)
imagecolorclosesthwb
—
取得与给定颜色最接近的色度的黑白色的索引
说明
int
imagecolorclosesthwb
(
resource
$image
,
int
$red
,
int
$green
,
int
$blue
)
imagecolorclosestalpha
imagecolordeallocate
GD and Image 函数
PHP Manual