Skip to content

load_image

Load a PNG image. It needs an open window.

Parameters

  • path — A path relative to the working directory.
local image = load_image("picture.png")

Related: image_size, draw_image, load_asset.

See the images guide for more examples and limits.