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

x/lume/deps/imagick.ts>IPixelCollection

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface IPixelCollection
implements IDisposable
Re-export
import { type IPixelCollection } from "https://deno.land/x/lume@v1.18.5/deps/imagick.ts";

Methods

getArea(
x: number,
y: number,
width: number,
height: number,
): quantumArray
getPixel(x: number, y: number): quantumArray
setArea(
x: number,
y: number,
width: number,
height: number,
quantumPixels: quantumArray,
): void
setArea(
x: number,
y: number,
width: number,
height: number,
numberPixels: number[],
): void
setPixel(
x: number,
y: number,
quantumPixels: quantumArray,
): void
setPixel(
x: number,
y: number,
numberPixels: number[],
): void
toByteArray(
x: number,
y: number,
width: number,
height: number,
mapping: string,
): quantumArray | null