Closed SunnyWar closed 2 months ago
https://docs.rs/fast_image_resize/latest/fast_image_resize/#resize-rgba8-image This line: let mut dst_image = Image::new( dst_width, dst_height, src_image.pixel_type().unwrap(), );
pixel_type() is not longer supported in the image crate.
It is not from 'image' crate. 'pixel_type()' is method of fast_image_resize::IntoImageView trait.
https://docs.rs/fast_image_resize/latest/fast_image_resize/#resize-rgba8-image This line: let mut dst_image = Image::new( dst_width, dst_height, src_image.pixel_type().unwrap(), );
pixel_type() is not longer supported in the image crate.