ImageColorTransparent

ImageColorTransparent -- 透明色の定義

説明

int imagecolortransparent(int im, int [col] );

ImageColorTransparent()は、画像im 上の透明色をcolに設定します。 imimagecreate()によって返された 画像IDで、colimagecolorallocate() によって返された色IDです。

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