Magnify-rs

This is a rust library implementing some simple Pixel-art scaling algorithms.

Currently supported algorithms

Example

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 img = ImageReader::open("image.bmp")?.decode()?;

let converted_img = magnify::convert(img, Algorithm::Scale3X);
converted_img.save("converted.bmp")?;

Ok(())

} ```