Crate rascii_art
source ·Expand description
Usage:
use rascii_art::{
render_to,
RenderOptions,
};
fn main() {
let mut buf = String::new();
render_to(
r"/path/to/image.png",
&mut buf,
&RenderOptions::new()
.width(100)
.colored(true)
.charset(&[".", ",", "-", "*", "£", "$", "#"]),
)
.unwrap();
}