imagecolortransparent
imagecolortransparent — 透明色を定義する
説明
int imagecolortransparent ( resource image [, int color] )指定した画像 image 上の透明色を設定します。
パラメータ
- image
- imagecreatetruecolor()
のような画像作成関数が返す画像リソース。
- color
-
imagecolorallocate() で指定した画像 ID。
返り値
新しい (あるいは指定されなかった場合は現在の) 透明色の ID を返します。注意
注意: 透過性は imagecopymerge() かつ True カラーの場合のみコピーされます。imagecopy() もしくはパレットイメージの場合はコピーされません。注意: 透明色は画像のプロパティであり、色のプロパティではありません。 ある色を透明色と定義したら、画像上で既にその色で着色されてる領域も 透明になります。
固有名詞の分類
PHP |
文字型 関数 tidyNode->isJste imagecolortransparent PharFileInfo->setCompressedGZ imagesx |
Weblioに収録されているすべての辞書からimagecolortransparentを検索する場合は、下記のリンクをクリックしてください。

- imagecolortransparentのページへのリンク