ImageSetPixel

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

ImageSetPixel -- Set a single pixel

Description

int imagesetpixel (int im, int x, int y, int col)

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

See also ImageCreate() and ImageColorAllocate().