Update dependencies to latest versions

This commit is contained in:
Nick Hahn
2021-12-28 02:29:15 +01:00
parent b7330e6da6
commit 122bf7d72c
4 changed files with 214 additions and 277 deletions

View File

@@ -4,7 +4,8 @@ use std::time::Duration;
use rayon::prelude::*;
use image;
use image::{DynamicImage, FilterType};
use image::DynamicImage;
use image::imageops::FilterType;
use pix::canvas::Canvas;

View File

@@ -51,7 +51,7 @@ impl Painter {
}
// Get an RGB image
let image = self.image.as_mut().unwrap().to_rgba();
let image = self.image.as_mut().unwrap().to_rgba8();
// Loop through all the pixels, and set their color
for x in 0..self.area.w {