From 3ad73998fe7bbb146aa124bc22729afe98d77c4c Mon Sep 17 00:00:00 2001 From: gennyble Date: Mon, 9 Oct 2023 20:20:16 -0500 Subject: some docs --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index d4b852b..8d94c8e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -53,7 +53,7 @@ impl Default for SquasherBuilder { Self { max_colours: T::from_usize(255), difference_fn: Box::new(difference::rgb_difference), - tolerance: 2.0, + tolerance: 1.0, } } } @@ -75,7 +75,7 @@ impl Squasher { let mut this = Self::from_parts( max_colors_minus_one, Box::new(difference::rgb_difference), - 2.0, + 1.0, ); this.recolor(buffer); -- cgit 1.4.1-3-g733a5