Update dependencies to latest versions
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user