mkascii

Crates.iomkascii
lib.rsmkascii
version0.1.0
sourcesrc
created_at2022-03-15 15:50:55.029938
updated_at2022-03-15 15:50:55.029938
descriptionLibrary for converting images into ASCII art
homepagehttps://codeberg.org/sonicrules1234/mkascii
repositoryhttps://codeberg.org/sonicrules1234/mkascii
max_upload_size
id550542
size8,466
Westly Ward (sonicrules1234)

documentation

README

How to use

use mkascii::AsciiBuilder;

// You can use AsciiBuilder::from_bytes if you alread have the data in memory
let mut image_processor = AsciiBuilder::from_path("/path/to/image/file")
.with_rows_cols(10, 20) // This is optional, and if left out mkascii will detect this from your currnt terminal size
.build();

println!("{}", image_processor.to_string());

Commit count: 0

cargo fmt