(PHP 3, PHP 4 )
int imagecolorat (int im, int x, int y)
int imagecolorat
画像上の特定位置にあるピクセルの色のインデックスを返します。
imagecolorset()および imagecolorsforindex()も参考にしてください。