code.swankyquant.swanky_quant
Reduce input rgba data to the requested number of index colors(2-256)
reads data from input[4*length]
writes data to output[length] and palette[4*colors]
Make sure this memory is available.
Quality is the number of passes and 6 or more is recommended for good results.