about summary refs log tree commit diff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
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<T: Count> Default for SquasherBuilder<T> {
 		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<T: Count> Squasher<T> {
 		let mut this = Self::from_parts(
 			max_colors_minus_one,
 			Box::new(difference::rgb_difference),
-			2.0,
+			1.0,
 		);
 		this.recolor(buffer);