imagesetpixel

(PHP 3, PHP 4, PHP 5)

imagesetpixel -- Setzt ein einzelnes Pixel

Beschreibung:

int imagesetpixel ( resource 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().