From a57cb34b513876313c755be2bbebb63138b4932b Mon Sep 17 00:00:00 2001 From: gennyble Date: Mon, 10 Jun 2024 17:07:56 -0500 Subject: Add HighestBits selector to cli --- src/selection.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/selection.rs') diff --git a/src/selection.rs b/src/selection.rs index 41e0254..84d5ea3 100644 --- a/src/selection.rs +++ b/src/selection.rs @@ -339,6 +339,7 @@ impl Selector for HighestBits { fn select(&mut self, max_colors: usize, image: ImageData) -> Vec { let max_bits = max_colors.next_power_of_two().ilog2() / 3; let shift = 8 - max_bits; + image .0 .iter() -- cgit 1.4.1-3-g733a5