把ASCII图转成图片
我们都知道有很多软件帮我们把图片转成ASCII码图,这里这个工具是帮我们把ASCII图转成漂亮的图片。这个开源的软件是一个用Java写成的一个命令行的工具。对于这个工具的目的,我个人以为如下:
- 其一,可以把别人的ASCII图转成图片,于是更好看一些。
- 其二,你可以使用ASCII码画图,而不需要使用图片编辑器。
- 其三,因为是命令行,所以,你完全可以以脚本或程序的方法来作图了。
这个工具软件叫ditaa,其网址是:http://ditaa.sourceforge.net/。
这个小工具支持一些语法定义,可以帮你更好地产生图片,如下所示:
圆角矩形
/--+ | | +--/ |
定义颜色
Color codes /-------------+-------------\ |cRED RED |cBLU BLU | +-------------+-------------+ |cGRE GRE |cPNK PNK | +-------------+-------------+ |cBLK BLK |cYEL YEL | \-------------+-------------/ |
一些图示
名字 | ASCII | 图版 | 注释 |
---|---|---|---|
文档 |
+-----+ |{d} | | | | | +-----+ |
表示文件 | |
存储 |
+-----+ |{s} | | | | | +-----+ |
表示数据库或磁盘 | |
输入 输出 |
+-----+ |{io} | | | | | +-----+ |
输入/输出标志。 |
线条设置
----+ /----\ +----+ : | | : | | | | |{s} | v \-=--+ +----+ |
线上的链接点
*----* | | /--* * * | | | -*--+ *----* |
文本
/-----------------\ | Things to do | | cGRE | | o Cut the grass | | o Buy jam | | o Fix car | | o Make website | \-----------------/ |
(转载本站文章请注明作者和出处 酷 壳 – CoolShell ,请勿用于任何商业用途)
《把ASCII图转成图片》的相关评论
牛*,不过这些ASCII图要怎么画呀!
好像有生成ASCII的工具的。
令人想起LaTeX
Neither he nor I had any idea why his camera was better (although it certainly was).
Exploring on line about the camcorder on the internet is a single an additional effective way of heading about
the camcorders. With that being said, the picture quality is amazing with this.
s Italian Meatballs on Martha Stewart Live, the Daily Buzz and
NJ12. Even if you don’t go over to Shop – At – Home first, and then
to a store site from there, you will be redirected through Shop –
At – Home. These include Lift Bridge, extension adaptors, pad adaptor kits,
rolling drain pans, drop-in pins, bolts, replacement pads, and height
extensions, among other parts.
Bottega Veneta Shoe fashion manufacturer Ugg boot Queensland
(world well-known branded associated with UGG trainers) possess distinct manufacturers intended for deviation choices
incorporating classic UGG,Where To Buy Prada Bags UGG slippers, and so
forth. The increased quantity means that you get
more for your money. So save up some money not for Christmas this
year but for Christmas next year.
One of the best ghoul caves is in the extreme west of the Kazordoon wilderness, west of all of the
dwarves themselves. The editor then goes on to say that it is
“supposed to be an excellent electioneering potion inasmuch as it renders the heart stout and bold, at the same time that it fuddles the head. If a consumer is searching for that loan to acquire a vehicle then there can be other pursuits that they needs to be considering as well than just the borrowed funds interest.