Skip to content
Image & Canvas newGIFEncoder

$newGIFEncoder — Creates a GIF encoder (at most 4, 512x512, 60 frames). Palette and functions are accepted by ForgeCanvas and not needed here.

Creates a GIF encoder (at most 4, 512x512, 60 frames). Palette and functions are accepted by ForgeCanvas and not needed here.

Syntax

$newGIFEncoder[gif;width;height]

Parameters

  • gif (String, required) — Encoder name
  • width (Number, required) — Width
  • height (Number, required) — Height

Return Value

  • None.

Usage

$newGIFEncoder[gif;width;height] → result

Example

$sendMessage[$newGIFEncoder[gif;width;height]]

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.