imagesetpixel

imagesetpixel

(PHP 4, PHP 5, PHP 7)

imagesetpixelSet a single pixel

Description

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

imagesetpixel() draws a pixel at the specified coordinate.

Parameters

image

An image resource, returned by one of the image creation functions, such as 登录查看完整内容