imagesetpixel

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().

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.