Skip to content
Image & Canvas GIFEncoderGlobalPalette

$GIFEncoderGlobalPalette — Returns a global palette (red, green, blue values, JSON) computed from the first frame.

Returns a global palette (red, green, blue values, JSON) computed from the first frame.

Syntax

$GIFEncoderGlobalPalette[(gif)]

Parameters

  • gif (String, optional) — Encoder name (empty: the only one)

Return Value

  • Json.

Usage

$GIFEncoderGlobalPalette[gif] → result

Example

$sendMessage[$GIFEncoderGlobalPalette[gif]]

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.