ImageColorAt

(PHP 3, PHP 4 )

ImageColorAt -- ピクセルの色のインデックスを取得

説明

int imagecolorat ( int im, int x, int y)

画像上の特定位置にあるピクセルの色のインデックスを返します。

imagecolorset() および imagecolorsforindex() も参考にしてください。