ImageSetPixel

(PHP 3, PHP 4 , PHP 5)

ImageSetPixel -- 点の生成

説明

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

imagesetpixel()は画像image 上に col色で座標 (x,y) (左上が0, 0) に点を描画します。

imagecreate()および imagecolorallocate()も参考にしてください。