use higher quality image rescaling

This commit is contained in:
Fl1tzi 2023-12-09 00:11:28 +01:00
parent bf5d1fdf3a
commit 8bed8a6fa9
No known key found for this signature in database
GPG key ID: 06B333727810C686

View file

@ -121,7 +121,7 @@ impl ModuleCache {
image = image.resize_exact(
self.resolution.0 as u32,
self.resolution.1 as u32,
FilterType::Nearest,
FilterType::Lanczos3,
);
trace!("Decoding finished");
let image = Arc::new(image);