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;
|
||||
|
||||
fn main() {
|
||||
println!("Converting test.svg to test.png.");
|
||||
let img = ImageReader::open("test.svg")?.decode()?;
|
||||
println!("Converting test.webp to test.png.");
|
||||
let img = ImageReader::open("test.webp")?.decode()?;
|
||||
img.save("test.png")?;
|
||||
println!("Done.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user