Skip to main content
Module

x/imagescript/mod.ts>GIF.decode

zero-dependency JavaScript image manipulation
Extremely Popular
Latest
method GIF.decode
import { GIF } from "https://deno.land/x/imagescript@1.3.0/mod.ts";

Decodes a GIF image

Parameters

data

The binary data to decode

optional
onlyExtractFirstFrame = [UNSUPPORTED]

Whether to end GIF decoding after the first frame