Generate picture(or GIF) by characters
Project description
生成字符画(包括GIF)
版本
v0.1.0
⚠ 适配nonebot2-2.0.1;
安装
- 通过
pip
或nb
安装;
命令
nb plugin install nonebot_plugin_charpic
pip install nonebot_plugin_charpic
功能
合成字符画(或 gif )
命令
字符画
+ 图片
⚠ 需要 nonebot2 配置的命令前缀,如果没配置默认 /
问题
缺资源
(纯萌新,第一次发包,不太熟,没有字体的话可以尝试以下解决方案)
- 找到这个包(一般在
site-packages
目录下),将data_source.py
中的Path(__file__).parent / "font" / "consola.ttf"
改为你自己想要的字体的路径; - 在
__init__.py
同级目录创建文件夹,名为font
, 再下载本仓库中的字体放进去。 - 直接clone本仓库,安装好依赖,放在bot能导入到的文件夹下面
(dddd)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nonebot_plugin_charpic-0.1.0.tar.gz
(207.9 kB
view hashes)
Built Distribution
Close
Hashes for nonebot_plugin_charpic-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ba2b47be9659005233ddd73776d4911169adb954e1a5dc512e59e18bfa20a8b |
|
MD5 | 9d7bfe802aae99d4627df16355120727 |
|
BLAKE2b-256 | f950f592c9d0a290521162828aaded6200203ab75afaaa5fd516565868cb74cf |
Close
Hashes for nonebot_plugin_charpic-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8acc08babbcbdc566f3b68809ca633415b7bea69b7b9674763eeeb91efbd4f1d |
|
MD5 | 42db51380a0ecbc86034d1cd1a374e14 |
|
BLAKE2b-256 | 0f7fc631c84193e77edcbc98ab1f3e98bd92031337c0672b69b83befc47dca7d |