Image & Canvas
newFrame
$newFrame — Creates a named GIF frame from a canvas name, an image URL or a data URL. Options JSON: delay (hundredths of a second), dispose, transparent, left, top. (alias of $createFrame)
Creates a named GIF frame from a canvas name, an image URL or a data URL. Options JSON: delay (hundredths of a second), dispose, transparent, left, top…
Syntax
$newFrame[frame;src;(options);(speed)]
Parameters
- frame (String, required) — Frame name
- src (String, required) — Canvas or image source
- options (Json, optional) — Frame options
- speed (Number, optional) — Ignored
Return Value
- None.
Usage
$newFrame[frame;src;options;speed] → result
Example
$sendMessage[$newFrame[frame;src;options;speed]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.