圖形函式庫 ImageColorResolve (PHP3 >= 3.0.2 , PHP4) ImageColorResolve --- 取得指定的或最接近的顏色的索引值 語法 : int imagecolorresolve (int im, int red, int green, int blue) 說明 : 此函式肯定會傳回一個請求的顏色索引值,會傳回指定的或是接近的顏色的索引值。 參考 : imagecolorclosest( ) 上一頁 首頁 下一頁
圖形函式庫
ImageColorResolve
(PHP3 >= 3.0.2 , PHP4)
ImageColorResolve --- 取得指定的或最接近的顏色的索引值
語法 : int imagecolorresolve (int im, int red, int green, int blue)
int imagecolorresolve (int im, int red, int green, int blue)
int imagecolorresolve
說明 :
此函式肯定會傳回一個請求的顏色索引值,會傳回指定的或是接近的顏色的索引值。
參考 : imagecolorclosest( )