fix: fix image resizing
This commit is contained in:
parent
966d3027e3
commit
dc94dc0347
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue