ImageColorTransparent

ImageColorTransparent -- 透明色の定義

説明

int imagecolortransparent(int im, int col);

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