Expand description
this crate provides methods to create, manipulate and output images made out
of unicode braille characters such as ⠝
.
§Basic Usage
use image::imageops::FilterType;
use make_it_braille::{BrailleImg, dithering::Sierra2Row};
let mut img = image::open("image.png").unwrap();
img = img.resize_exact(64, 64, FilterType::Triangle);
let mut img = BrailleImg::from_image(img, Sierra2Row, false);
println!("{}", img.as_str(true, true));
Re-exports§
pub use braille::BrailleImg;
pub use braille::Error;
pub use dithering::Bayer2x2;
image
pub use dithering::Bayer4x4;
image
pub use dithering::None;
image
pub use dithering::Sierra2Row;
image
Modules§
- dithering
image