imagesetpixel

(PHP 3, PHP 4 )

imagesetpixel -- Set a single pixel

Description

int imagesetpixel ( resource image, int x, int y, int col)

imagesetpixel() draws a pixel at x, y (top left is 0, 0) in image image of color col.

See also imagecreate() and imagecolorallocate().