ImageColorTransparent

(PHP 3, PHP 4 )

ImageColorTransparent -- 透明色の定義

説明

int imagecolortransparent ( int im, int [col] )

ImageColorTransparent() は、イメージ im 上の透明色を col に 設定します。 im imagecreate() によって返されたイメージIDで、 col imagecolorallocate() によって返された色IDです。

新しい(指定されない場合は現在の)透明色のIDが返されます。