Palette Quantize
Quantizes an image to an input or extracted palette
intermediate
Since P00
Input Ports
Image
Image input for Palette Quantize.
Palette
Extracts a palette from the image when no palette is connected
Output Ports
Image
Image output from Palette Quantize.
Palette
Palette actually used
Count
Number of colors in the palette used
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| 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 |
Overview
Quantizes an image to an input or extracted palette
Inputs and Outputs
Input Ports
- Image
Image: Image input for Palette Quantize. - Palette
Palette: Extracts a palette from the image when no palette is connected
Output Ports
- Image
Image: Image output from Palette Quantize. - Palette
Palette: Palette actually used - Count
Int: Number of colors in the palette used
Key Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| 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 |
When to Use
Use Palette Quantize 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.