染川 瞳 5f6f026297 Daily Update há 3 semanas atrás
..
gallary 9bbf6d9122 Version 2.5.6 há 1 ano atrás
jpeg 9bbf6d9122 Version 2.5.6 há 1 ano atrás
webp 9bbf6d9122 Version 2.5.6 há 1 ano atrás
.gitignore 5c95092217 Create .gitignore há 3 anos atrás
README.md 5193a24676 feat: ip源切换 há 3 anos atrás
__init__.py 9776d3cd60 Add files via upload há 4 anos atrás
icon.png 5f6f026297 Daily Update há 3 semanas atrás
manifest.json 20c4cd1ed3 实验性功能 pc/mobile壁纸分离 há 4 anos atrás
manifest.py 5b29d22efd manifest数据不再存至数据库,改用读取json文件 há 2 anos atrás
manifest_mobile.json 20c4cd1ed3 实验性功能 pc/mobile壁纸分离 há 4 anos atrás

README.md

封面图生成工具

依赖

Python3 PIL (Pillow)

安装依赖

安装 Python: https://docs.python.org/zh-cn/3.9/using/index.html

安装 PIL:

# Linix/Mac Terminal
pip install Pillow
# 如果也安装了 Python 2,需要指定 pip 版本:
pip3 install Pillow

# Windows Powershell 或者 CMD
pip install Pillow
# 如果也安装了 Python 2,需要指定 pip 版本:
pip3 install Pillow
# 如果提示权限不足([WinError 5] Access is denied),请运行:
pip install Pillow --user

运行

把图片文件放到 gallary 目录,Windows 可直接双击 manifest.py,或者和其他操作系统一样,在 Terminal、Powershell、CMD 中运行:

# 切换到 manifest.py 所在目录:
cd /path/to/manifest/
python manifest.py
# 如果也安装了 Python 2,需要指定 Python 版本:
python3 manifest.py