Skip to main content
Module

x/imagescript/ImageScript.js>decode

zero-dependency JavaScript image manipulation
Extremely Popular
Go to Latest
function decode
import { decode } from "https://deno.land/x/imagescript@1.2.15/ImageScript.js";

Decodes the given image binary

Parameters

data

The image data

onlyExtractFirstFrame

Whether to end GIF decoding after the first frame