media-gfx/
libimagequant

Palette quantization library that powers pngquant and other PNG optimizers

https://pngquant.org/lib/