1 个不稳定版本

0.1.0 2022 年 3 月 15 日

#53#ascii-art

自定义许可证

7KB
97

如何使用

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());

依赖项

~5MB
~62K SLoC