diff --git a/src/util/color.rs b/src/util/color.rs index 9dcfc09..a5b0a5d 100644 --- a/src/util/color.rs +++ b/src/util/color.rs @@ -332,7 +332,7 @@ pub fn get_source_color(source: &Source) -> Result { ImageReader::extract_color(ImageReader::open(path)?.resize( 128, 128, - FilterType::Gaussian, + FilterType::Lanczos3, )) } Source::WebImage { url } => { @@ -343,7 +343,7 @@ pub fn get_source_color(source: &Source) -> Result { ImageReader::extract_color(ImageReader::read(&bytes)?.resize( 128, 128, - FilterType::Gaussian, + FilterType::Lanczos3, )) } Source::Color(color) => match color {