Skip to content
Image & Canvas createFrame

$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.

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

$createFrame[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

$createFrame[frame;src;options;speed] → result

Example

$sendMessage[$createFrame[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.