ImageColorTransparent
(PHP3 , PHP4)
ImageColorTransparent --- 定義透明的顏色
語法 :
int imagecolortransparent(int im [, int col])說明 :
ImageColorTransparent( )圖形 im中,透明的顏色為 col。參數 im是由ImageCreate( )傳回的圖形 identifier,而參數 col是由ImageColorAllocate( )傳回的顏色identifier。
傳回新的透明色的 identifier,如果沒有指定則傳回當前的顏色 identifier。