R/utils.R
quantize_colors.Rd
From https://lumiamitie.github.io/r/imager-color-quantization/
quantize_colors(img, n = 16)
cimage
number of colors in returned image
a cimage with only n colors