ascii-gen
项目地址:
依赖
- clap - Command-line argument parser for Rust.
- image - Image processing library for Rust.
- crossterm - Cross-platform terminal manipulation library for Rust.
- ratatui - TUI (Text-based User Interface) library for Rust.
例如
ascii-gen --file path/to/your/image.jpg --width 120 --height 60
ascii-gen --file path/to/your/image.jpg --width 120 --height 60 --live
来吧,展示
这不能体现效果,再来张
还有几张就交给大家做作业了
原文始发于微信公众号(Eonian Sharp):[kd-rs] ascii-gen - 将图像转换为 ASCII 艺术的 CLI 工具
- 左青龙
- 微信扫一扫
- 右白虎
- 微信扫一扫
评论