Quantize
Color
Reduces the image to N total colors using k-means clustering for whole-image palette reduction.
Quantize reduces the entire image to a specified number of unique colors. It uses k-means to find the best representative colors, then remaps every pixel to its nearest match. This creates a flat, stylized look similar to indexed-color images.
Unlike Posterize (which operates per-channel), Quantize considers the full RGB color together, producing a more harmonious and intentional palette.
Parameters
Section titled “Parameters”Color
ColorsInteger
Total unique colors via k-means; lower=more stylized
AttemptsInteger
K-means restarts; higher=better selection, slower
DitherToggle
Bayer 4x4 dithering for smoother gradients with fewer colors
Usage Tips
Section titled “Usage Tips”- Enable dithering to reduce visible banding and color transitions.
- Use 8–16 colors for a retro/pixel art style.
- Use the Dither node with a connected Palette for quantization to a specific set of colors.