ImageSetPixel()
は画像
im
上に
col
色で座標 (
x
,
y
) (左上が0, 0) に点を描画します。
imagecreate()
および
imagecolorallocate()
も参考にしてください。