diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md index 3601c3a..f0e33b0 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,17 @@ and takes the top N colours that are sufficiently different. [^1]: [wikipedia: color quantization](https://en.wikipedia.org/wiki/Color_quantization) -**features** +**library features** -**`kmeans`** - use kmeans for palette selection instead of sort & select. **`gifed`** - adds the `Squasher::palette_gifed()` method allowing you to directly get a gifed's Palette struct. +**colour selection algorithms** + +*`Sorsel`* - sorts colors most to least frequent and then picks the top colours that are different enough than the colours already picked. +*`KMeans`* - use k-means clustering to select the palette. +*`HighestBits`* - bit-shift the color components until all of the colors fit in the palette. + ### squash A CLI tool to quantize colours :D |