diff options
author | gennyble <gen@nyble.dev> | 2024-01-14 07:33:52 -0600 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2024-01-14 07:33:52 -0600 |
commit | 88656a81d8e1480c3e37a3402901525aee1a596c (patch) | |
tree | 3263cc0726b8b05981c11083473e271a2f82d0c8 /squash/src/image.rs | |
parent | 2b3181f3c4675d744338f497564faa00bc5d76db (diff) | |
download | colorsquash-88656a81d8e1480c3e37a3402901525aee1a596c.tar.gz colorsquash-88656a81d8e1480c3e37a3402901525aee1a596c.zip |
allow choosing selection algorithm
Diffstat (limited to 'squash/src/image.rs')
-rw-r--r-- | squash/src/image.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/squash/src/image.rs b/squash/src/image.rs index 5c7b45a..ff6650f 100644 --- a/squash/src/image.rs +++ b/squash/src/image.rs @@ -2,7 +2,7 @@ use std::{fs::File, io::BufWriter}; use anyhow::{anyhow, bail}; use camino::{Utf8Path, Utf8PathBuf}; -use colorsquash::Squasher; +use colorsquash::{selection::SortSelect, Squasher}; use gifed::{writer::ImageBuilder, Gif}; use png::{ColorType, Decoder, Encoder}; use zune_jpeg::{zune_core::colorspace::ColorSpace, JpegDecoder}; |