Changed test from svg to webp

This commit is contained in:
Gregory Ballantine 2024-05-17 13:45:55 -04:00
parent eec0f3fbf9
commit 8ddce80ced

View File

@ -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.");
}