Changed test from svg to webp
This commit is contained in:
parent
eec0f3fbf9
commit
8ddce80ced
@ -1,8 +1,8 @@
|
|||||||
use image::io::Reader as ImageReader;
|
use image::io::Reader as ImageReader;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Converting test.svg to test.png.");
|
println!("Converting test.webp to test.png.");
|
||||||
let img = ImageReader::open("test.svg")?.decode()?;
|
let img = ImageReader::open("test.webp")?.decode()?;
|
||||||
img.save("test.png")?;
|
img.save("test.png")?;
|
||||||
println!("Done.");
|
println!("Done.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user