imagecolorstotal
imagecolorstotal — 画像パレットの色数を検出する
説明
int imagecolorstotal ( resource image )指定した画像パレットの色数を返します。
パラメータ
- image
- imagecreatetruecolor()
のような画像作成関数が返す画像リソース。
返り値
指定した画像パレットの色数を返します。 truecolor 画像の場合は 0 を返します。参考
| imagecolorat() |
| imagecolorsforindex() |
| imageistruecolor() |
固有名詞の分類
| PHP |
copy vfprintf imagecolorstotal imagefontheight rmdir |
- imagecolorstotalのページへのリンク