chore: update iced
This commit is contained in:
parent
5c1887fb07
commit
6c401d7030
7 changed files with 1502 additions and 915 deletions
|
|
@ -42,11 +42,11 @@ pub fn main(
|
|||
}
|
||||
}?;
|
||||
|
||||
if let Some((width, height)) = size_opt {
|
||||
image = image.thumbnail(width, height);
|
||||
}
|
||||
// if let Some((width, height)) = size_opt {
|
||||
// image = image.thumbnail(width, height);
|
||||
// }
|
||||
|
||||
image.save_with_format(output, ImageFormat::Png)?;
|
||||
// image.save_with_format(output, ImageFormat::Png)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue