#image #png #art #graphics #text #cli

bin+lib imatree

一个简单的命令行工具,用于生成您想要的任意字符串的美观(有时不那么美观)的图像

1 个不稳定版本

0.1.0 2024年4月5日

#1092 in 文本处理

MIT 许可证

18KB
122

Imatree

用法

cargo run --bin create -- --name "name"

帮助

 -n, --name <NAME>            The name of the image to create
 -p, --path <PATH>            Path to save the image [default: Current directory]
 -c, --color <COLOR>          The color of the text [default: Black]
 -f, --font-size <FONT_SIZE>  The font size of the text [default: 0] -- 0 is auto
 -w, --width <WIDTH>          The width of the image [default: 1000]
 -t, --height <HEIGHT>        The height of the image [default: 1000]
 -h, --help                   Print help
 -V, --version                Print version

示例

Imatree

依赖

~13MB
~225K SLoC