mirror of
https://github.com/Cykooz/fast_image_resize.git
synced 2026-11-29 04:01:35 +00:00
Fixed readme
This commit is contained in:
1 parent
bae75c81e7
commit
22a1b5f7ab
1 file changed
+2
-2
@@ -126,7 +126,7 @@ use std::num::NonZeroU32;
|
||||
|
||||
use image::codecs::png::PngEncoder;
|
||||
use image::io::Reader as ImageReader;
|
||||
use image::{ColorType, ImageEncoder};
|
||||
use image::{ExtendedColorType, ImageEncoder};
|
||||
|
||||
use fast_image_resize as fr;
|
||||
|
||||
@@ -181,7 +181,7 @@ fn main() {
|
||||
dst_image.buffer(),
|
||||
dst_width.get(),
|
||||
dst_height.get(),
|
||||
ColorType::Rgba8,
|
||||
ExtendedColorType::Rgba8,
|
||||
)
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user