diff options
author | gennyble <gen@nyble.dev> | 2024-06-10 17:07:56 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2024-06-10 17:07:56 -0500 |
commit | a57cb34b513876313c755be2bbebb63138b4932b (patch) | |
tree | 4efd794c2e5df183da0852044e6038912048c9c5 /squash/src/main.rs | |
parent | 67eefd43795320043915d3527fd2716986e049d7 (diff) | |
download | colorsquash-a57cb34b513876313c755be2bbebb63138b4932b.tar.gz colorsquash-a57cb34b513876313c755be2bbebb63138b4932b.zip |
Add HighestBits selector to cli
Diffstat (limited to 'squash/src/main.rs')
-rw-r--r-- | squash/src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/squash/src/main.rs b/squash/src/main.rs index c0cea51..878ae37 100644 --- a/squash/src/main.rs +++ b/squash/src/main.rs @@ -1,7 +1,7 @@ use std::time::Duration; use colorsquash::{ - selection::{Kmeans, SortSelect}, + selection::{HighestBits, Kmeans, SortSelect}, SquasherBuilder, }; @@ -34,6 +34,7 @@ fn main() -> Result<(), anyhow::Error> { builder = builder.selector(sorsel); } cli::Selector::Kmeans => builder = builder.selector(Kmeans { max_iter: 10 }), + cli::Selector::HighestBits => builder = builder.selector(HighestBits {}), }; let mut start = std::time::Instant::now(); |