mirror of
https://codeberg.org/Fl1tzi/microdeck.git
synced 2024-05-19 19:20:20 +00:00
use higher quality image rescaling
This commit is contained in:
parent
bf5d1fdf3a
commit
8bed8a6fa9
|
@ -121,7 +121,7 @@ impl ModuleCache {
|
||||||
image = image.resize_exact(
|
image = image.resize_exact(
|
||||||
self.resolution.0 as u32,
|
self.resolution.0 as u32,
|
||||||
self.resolution.1 as u32,
|
self.resolution.1 as u32,
|
||||||
FilterType::Nearest,
|
FilterType::Lanczos3,
|
||||||
);
|
);
|
||||||
trace!("Decoding finished");
|
trace!("Decoding finished");
|
||||||
let image = Arc::new(image);
|
let image = Arc::new(image);
|
||||||
|
|
Loading…
Reference in a new issue