load_image
load_image(filepath, [timeout]) -> IMAGE
Load an image from file (png, jpg, gif, bmp, tiff, webp)
Syntaxe
var img = load_image("image.png");
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
filepath | yes | - | Path to image file or URL |
timeout | - | - | Network timeout in ms (optional) |