From 1486f8a3941489da2efbed65fff4bb3808344119 Mon Sep 17 00:00:00 2001 From: kris Date: Mon, 18 Jul 2022 22:31:22 +0100 Subject: [PATCH] Add TODO --- convert_shr.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/convert_shr.py b/convert_shr.py index e0caeda..0a01f92 100644 --- a/convert_shr.py +++ b/convert_shr.py @@ -268,6 +268,9 @@ class ClusterPalette: # If the k-means clustering returned fewer than 16 unique colours, # fill out the remainder with the most common pixels colours that # have not yet been used. + # + # TODO: this seems like an opportunity to do something better - + # e.g. forcibly split clusters and iterate the clustering palette_rgb12_iigs = self._fill_short_palette( palette_rgb12_iigs, most_frequent_colours)