summaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-07 01:00:34 +0100
committerubq323 <ubq323@ubq323.website>2022-08-07 01:00:34 +0100
commit96ca9bb954367e55f0f3016f059a41733f0b3f76 (patch)
tree7c7abb85cb6e6314f13b6954ba1a1fe3446d34f8 /img
parentcd3aeb20af1e0e360e51fc8e9d85cd66e278f18c (diff)
img
Diffstat (limited to 'img')
-rw-r--r--img/better_disp.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/img/better_disp.lua b/img/better_disp.lua
index 729daba..e9ccbf8 100644
--- a/img/better_disp.lua
+++ b/img/better_disp.lua
@@ -66,6 +66,7 @@ local function adjust_to_2_colors(R,gromlings,pdists)
end
while ncolors > 2 do
+ print(ncolors)
-- merge closest two colors until there are only 2 distinct ones left
local best_dist = 9999
local best_a = nil