Manuale PHP
Indietro |  | Avanti

# imagesetpixel

(PHP 3, PHP 4, PHP 5)

imagesetpixel -- Set a single pixel

## Description

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

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

See also imagecreatetruecolor() and imagecolorallocate().

Indietro | Partenza | Avanti
imagesetbrush | Risali | imagesetstyle