class PixelCollection
implements IPixelCollection
extends NativeInstance
Re-export
import { PixelCollection } from "https://deno.land/x/lume@v1.18.4/deps/imagick.ts";
Constructors
new
private
PixelCollection(image: IMagickImage)Properties
private
readonly
image: IMagickImageMethods
private
use<TReturnType>(x: number,
y: number,
width: number,
height: number,
mapping: string,
func: (instance: number) => TReturnType,
getArea(): quantumArray
x: number,
y: number,
width: number,
height: number,
getPixel(x: number, y: number): quantumArray
setArea(): void
setArea(): void
x: number,
y: number,
width: number,
height: number,
numberPixels: number[],
setPixel(): void
setPixel(): void
x: number,
y: number,
numberPixels: number[],
toByteArray(): quantumArray | null
x: number,
y: number,
width: number,
height: number,
mapping: string,
Static Methods
private
createArray(instance: number,
width: number,
height: number,
channelCount: number,
_create(image: IMagickImage): PixelCollection
_map(): void
_use<TReturnType>(image: IMagickImage, func: (pixels: IPixelCollection) => TReturnType): TReturnType
_use<TReturnType>(image: IMagickImage, func: (pixels: IPixelCollection) => Promise<TReturnType>): Promise<TReturnType>