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

x/imagescript/v2/framebuffer.mjs>default

zero-dependency JavaScript image manipulation
Extremely Popular
Go to Latest
class default
import { default } from "https://deno.land/x/imagescript@v1.2.14/v2/framebuffer.mjs";

Constructors

new
default(
width,
height,
buffer,
)

Methods

at(x, y)
blur(type, arg0)
crop(
type,
arg0,
arg1,
arg2,
arg3,
)
cut(
type,
arg0,
arg1,
arg2,
arg3,
)
encode(format, options?)
fill(color)
flip(type)
get(x, y)
overlay(
frame,
x?,
y?,
)
pixels(type)
replace(
frame,
x?,
y?,
)
resize(
type,
width,
height,
)
rotate(deg, resize?)
scale(type, factor)
set(
x,
y,
color,
)
swap(old, color)

Static Methods

decode(format, buffer)
from(framebuffer)