Interface PixelateOptions

interface PixelateOptions {
    algorithm?: "center" | "mean" | "median";
    cellSize: number;
    out?: Image;
}

Properties

algorithm?: "center" | "mean" | "median"

algorithm to use.

Default

'center'

cellSize: number

Range of pixelated area.

out?: Image

Image to which to output.