load_image
Load an image from file (png, jpg, gif, bmp, tiff, webp)
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 | Type | Required | Default | Description |
|---|---|---|---|---|
filepath | yes | - | Path to image file or URL | |
timeout | - | - | Network timeout in ms (optional) |