diff options
Diffstat (limited to 'src/selection.rs')
-rw-r--r-- | src/selection.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<RGB8> { let max_bits = max_colors.next_power_of_two().ilog2() / 3; let shift = 8 - max_bits; + image .0 .iter() |