Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/imagescript/ImageScript.js>Frame.from

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

Converts an Image instance to a Frame, cloning it in the process

Parameters

image

The image to create the frame from

duration
xOffset
yOffset
optional
disposalMode = [UNSUPPORTED]