diff options
Diffstat (limited to 'squash/src')
-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 fe7f310..f7964f4 100644 --- a/squash/src/main.rs +++ b/squash/src/main.rs @@ -51,7 +51,8 @@ fn main() -> Result<(), anyhow::Error> { } }; - let squasher = Squasher::new(color_count, &image.data); + let squasher = + Squasher::new_with_difference(color_count, &image.data, &colorsquash::redmean_difference); let size = squasher.map_over(&mut image.data); image.data.resize(size, 0); |