Skip to content

textmode.filters.js / PosterizeOptions

Interface: PosterizeOptions

Configuration options for the 'posterize' filter.

Reduces the color palette to a limited number of bands per channel, creating a retro quantized/poster-like look.

Example

Properties

PropertyTypeDescription
levelsnumberNumber of color levels per channel. Lower values create more dramatic banding effects. Higher values approach the original image quality. - 2 = extreme posterization (very few colors) - 4 = strong posterization (default) - 8+ = subtle posterization Default 4.0