color_reduce_libimagequant(src, num_colors)ΒΆ
Reduces the number of colors in the image to a specified number.
Inputs
| name | type | default | description |
|---|---|---|---|
| src | image | Source image | |
| num_colors | int | 256 | Number of colors to reduce the image to. If it is 0 then it will automatically determine the number of colors. |
Outputs
| name | type | default | description |
|---|---|---|---|
| dst | image | Destination image |