圖形函式庫 ImageColorExact (PHP3 , PHP4) ImageColorExact --- 取得指定的顏色的索引值 語法 : int imagecolorexact (int im, int red, int green, int blue) 說明 : 傳回圖形的調色盤中,指定的顏色的索引值。 如果顏色不在圖形的調色盤上,則傳回-1。 參考 : imagecolorclosest( ) 上一頁 首頁 下一頁
圖形函式庫
ImageColorExact
(PHP3 , PHP4)
ImageColorExact --- 取得指定的顏色的索引值
語法 : int imagecolorexact (int im, int red, int green, int blue)
int imagecolorexact (int im, int red, int green, int blue)
int imagecolorexact
說明 :
傳回圖形的調色盤中,指定的顏色的索引值。 如果顏色不在圖形的調色盤上,則傳回-1。
傳回圖形的調色盤中,指定的顏色的索引值。
如果顏色不在圖形的調色盤上,則傳回-1。
參考 : imagecolorclosest( )