imagesetpixel

(PHP 3, PHP 4, PHP 5)

imagesetpixel -- Θέστε ένα μόνο pixel

Περιγραφή

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

Η συνάρτηση imagesetpixel() σχεδιάζει ένα pixel στο σημείο x, y (πάνω αριστερά είναι το 0, 0) στην εικονα image χρώματος color.

Ανατρέξτε επίσης στις imagecreate() και imagecolorallocate().