PLAYGROUND (experimental)

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

NameTypeRequiredDefaultDescription
filepathyes-Path to image file or URL
timeout--Network timeout in ms (optional)