Object function reference

set_pixel

A reference entry for set_pixel

Object function · Image

set_pixel(number x_coordinate, number y_coordinate, list colour) ⇒ Image

Sets a pixel using a three-channel RGB list or a four-channel RGBA list and returns the Image object.