Skip to content

textmode.filters.js / PixelateOptions

Interface: PixelateOptions

Configuration options for the 'pixelate' filter.

Reduces image resolution to create a mosaic/pixelated effect reminiscent of retro video games or censored content.

Example

Properties

PropertyTypeDescription
pixelSizenumberSize of each pixel block in pixels. Larger values create bigger, more visible pixels. Minimum value: 1.0 Default 4.0