This is a rust library implementing some simple Pixel-art scaling algorithms.
This code scales image.bmp
using the Scale3X algorithms and then saves the result into converted.bmp
.
```rs
use image::io::Reader as ImageReader;
use magnify::Algorithm;
fn main() -> Result<(), Box
let converted_img = magnify::convert(img, Algorithm::Scale3X);
converted_img.save("converted.bmp")?;
Ok(())
} ```