ImageColorAt

(PHP 3, PHP 4 )

ImageColorAt -- Get the index of the color of a pixel

Description

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

Returns the index of the color of the pixel at the specified location in the image.

See also imagecolorset() and imagecolorsforindex().