Method Image.Layer()->set_image()
- Method
set_image
Method image
Method alpha
objectset_image(Image.Imageimage)
objectset_image(Image.Imageimage,Image.Imagealpha_channel)
object|int(0..)image()
object|int(0..)alpha()- Description
-
Set/change/get image and alpha channel for the layer. You could also cancel the channels giving 0 instead of an image object.
- Note
-
image and alpha channel must be of the same size, or canceled.