ImageSetPixel

(PHP 3, PHP 4 >= 4.0.0)

ImageSetPixel -- Setzt ein einzelnes Pixel

Beschreibung:

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

ImageSetPixel() zeichnet ein Pixel an der Koordinate x / y. Dabei ist die Koordinate 0, 0 die linke obere Ecke des Bildes im. Die Pixelfarbe wird durch col bestimmt.

Siehe auch imagecreate() und imagecolorallocate().