feat: add color quantization ultility
This is a race condition, if another quantization task is started before this one finishes the new one won't run. Instead of canceling with isProcessing, keep a pointer to the old task to disconnect from before starting a new one.
feat: add color quantization ultility
In general also use auto x = y syntax over T x = y, and avoid T x(y).