Dither
Quantizes an image to a palette with ordered or error-diffusion dithering
intermediate
Since P00
Input Ports
Image
Image input for Dither.
Palette
Extracts a palette from the image when no palette is connected
Output Ports
Image
Image output from Dither.
Palette
Palette actually used
Count
Number of colors in the palette used
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| Mode | Enum | `Ordered4x4` | Controls the mode setting for Dither. |
| Extract Mode | Enum | `Representative` | Controls how to extract a palette when no palette is connected |
| Max Colors | Int | `16` | Maximum number of colors to keep when extracting |
| Include Transparent | Bool | `false` | Includes fully transparent pixels when extracting the palette |
| Preserve Alpha | Bool | `true` | Preserves the original image alpha when changing colors |
| Strength | Float | `1.0` | Controls the strength setting for Dither. |
Overview
Quantizes an image to a palette with ordered or error-diffusion dithering
Inputs and Outputs
Input Ports
- Image
Image: Image input for Dither. - Palette
Palette: Extracts a palette from the image when no palette is connected
Output Ports
- Image
Image: Image output from Dither. - Palette
Palette: Palette actually used - Count
Int: Number of colors in the palette used
Key Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| Mode | Enum | `Ordered4x4` | Controls the mode setting for Dither. |
| Extract Mode | Enum | `Representative` | Controls how to extract a palette when no palette is connected |
| Max Colors | Int | `16` | Maximum number of colors to keep when extracting |
| Include Transparent | Bool | `false` | Includes fully transparent pixels when extracting the palette |
| Preserve Alpha | Bool | `true` | Preserves the original image alpha when changing colors |
| Strength | Float | `1.0` | Controls the strength setting for Dither. |
When to Use
Use Dither when you need this operation to remain explicit, reusable, and easy to tune inside a PixPipeline node graph.
Notes
Connect compatible data types and preview the result while tuning this node. Parameter names and port names follow the PixPipeline UI.