Skip to content
Image & Canvas newDecoder

$newDecoder — Decodes a GIF from an image URL or data URL (at most 200 frames are kept). (alias of $newGIFDecoder)

Decodes a GIF from an image URL or data URL (at most 200 frames are kept). (alias of $newGIFDecoder)

Syntax

$newDecoder[gif;src;(options)]

Parameters

  • gif (String, required) — Decoder name
  • src (String, required) — GIF source
  • options (String, optional) — Name made with $decodeOptions

Return Value

  • None.

Usage

$newDecoder[gif;src;options] → result

Example

$sendMessage[$newDecoder[gif;src;options]]

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.