Add `numColour`.
xyzzy opened this issue · comments
Pass numColour
from UI to backend indicating maximum number of colours in palette.
This change is preliminary to split the 3-way radio button into a user configurable number-of-colours and dither-threshold settings.
The time complexity of SCQ
is "width*height*colours"
.
SCQ
usually only needs a handful of colours and the relative small image size makes 64 colours reasonable overkill.