(PHP 3, PHP 4 >= 4.0.0)
int imagecolortransparent (int im, int [col])
int imagecolortransparent
ImageColorTransparent()は、イメージ im上の透明色をcolに 設定します。imは imagecreate()によって返されたイメージIDで、 colは imagecolorallocate()によって返された色IDです。
新しい(指定されない場合は現在の)透明色のIDが返されます。