文字生成字符图
http://patorjk.com/software/taag
http://www.network-science.de/ascii/
根据图像生成字符图
http://www.degraeve.com/img2txt.php
http://life.chacuo.net/convertfont2char
画图生成字符图
Springboot启动字符画
springboot启动会输出一个banner字符画,根据springboot对banner的介绍:
The banner that is printed on start up can be changed by adding a banner.txt file to your classpath or by setting the spring.banner.location property to the location of such a file. If the file has an encoding other than UTF-8, you can set spring.banner.charset. In addition to a text file, you can also add a banner.gif, banner.jpg, or banner.png image file to your classpath or set the spring.banner.image.location property. Images are converted into an ASCII art representation and printed above any text banner.
我们可以知道向类路径中添加一个banner.txt文件或设置spring.banner.location指向banner.txt文件,由此可以更改Springboot启动输出字符图。通过spring.banner.charset可以设置banner.txt文件的编码格式。除了txt文件,也可以设置图像gif、jpg或png文件,同样保存到类路径或通过spring.banner.image设置指定图像路径。设置的图像也会被转换成ASCII字符图,在启动springboot时输出。