The ImageQuantize node is designed to reduce the number of colors in an image to a specified number, optionally applying dithering techniques to maintain visual quality. This process is useful for creating palette-based images or reducing the color complexity for certain applications.

## Inputs

| Field | Description | Data Type |
| --- | --- | --- |
| `image` | The input image tensor to be quantized. It affects the node's execution by being the primary data upon which color reduction is performed. | `IMAGE` |
| `colors` | Specifies the number of colors to reduce the image to. It directly influences the quantization process by determining the color palette size. | `INT` |
| `dither` | Determines the dithering technique to be applied during quantization, affecting the visual quality and appearance of the output image. | COMBO[STRING] |

## Outputs

| Field | Description | Data Type |
| --- | --- | --- |
| `image` | The quantized version of the input image, with reduced color complexity and optionally dithered to maintain visual quality. | `IMAGE` |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ImageQuantize/en.md)
