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

x/imagescript/v2/framebuffer.d.ts>default#pixels

zero-dependency JavaScript image manipulation
Extremely Popular
Latest
method default.prototype.pixels
import { default } from "https://deno.land/x/imagescript@1.3.0/v2/framebuffer.d.ts";

Parameters

optional
type: "int"

Returns

Generator<[number, number, number], [number, number, number]>

Parameters

type: "rgba"

Returns

Generator<[number, number, Uint8Array], [number, number, Uint8Array]>