From 88656a81d8e1480c3e37a3402901525aee1a596c Mon Sep 17 00:00:00 2001 From: gennyble Date: Sun, 14 Jan 2024 07:33:52 -0600 Subject: allow choosing selection algorithm --- squash/src/image.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'squash/src/image.rs') 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}; -- cgit 1.4.1-3-g733a5