From dc94dc034725dccba2cd0842a618084e722c7ec0 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Fri, 24 Jun 2022 20:46:24 +0200 Subject: [PATCH] fix: fix image resizing --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3de59c4..1a1f626 100644 --- a/src/main.rs +++ b/src/main.rs @@ -245,7 +245,7 @@ fn main() -> anyhow::Result<()> { Action::Clear => RgbImage::new(layout.width_px(), layout.height_px()), Action::Image { path } => ImageReader::open(path)? .decode()? - .resize_to_fill(layout.width_px(), layout.height_px(), FilterType::Gaussian) + .resize(layout.width_px(), layout.height_px(), FilterType::Gaussian) .into_rgb8(), Action::Animation { animation } => { animate(