在线生成ascii字符画,字符图案生成在线工具,springboot banner启动字符图设置

文字生成字符图

http://patorjk.com/software/taag
http://www.network-science.de/ascii/
在这里插入图片描述

根据图像生成字符图

http://www.degraeve.com/img2txt.php
http://life.chacuo.net/convertfont2char
在这里插入图片描述

画图生成字符图

http://asciiflow.com/
在这里插入图片描述

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时输出。

在这里插入图片描述

https://www.cnblogs.com/niumoo/p/10434746.html

  • 5
    点赞
  • 15
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

鳄鱼儿

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值