mirror of
https://mikeslab.dix.asia/gogs/My-Mods/ANI2Cape.git
synced 2025-10-01 23:14:57 +00:00
Features, packaging + sample config, cf. README.md
This commit is contained in:
parent
8ded24d9f2
commit
d8a9ba0713
4 changed files with 237 additions and 76 deletions
13
README.md
13
README.md
|
@ -1,3 +1,16 @@
|
|||
# Forked ANI2Cape
|
||||
|
||||
- 添加了一个完整的[config.py](./config.py)范例
|
||||
- 添加了对普通静态.cur文件的支持(部分.cur是直接用.ico重命名得到的,在此特别支持)
|
||||
- HiDPI打开时(范例中默认打开),将源文件自动视为两倍大小版本导入,并同时生成普通大小版本
|
||||
- 添加了自动计算长宽的功能
|
||||
a. 长和宽均为-1,则直接从原图取得长宽数值
|
||||
b. 长、宽二者之一为-1,则从给定数值的边长计算出缩放倍率并等比缩放
|
||||
|
||||
注:
|
||||
- `ani2cape.py`不接受参数,直接运行即读取同目录下`config.py`内容,其中`Cursors`子项目`Path`属性使用相对路径时基于当前切换到的目录(而不是程序目录)
|
||||
- 建议先创建并启用venv后,用`pip install -e .`安装,编辑`config.py`内容后,再切换到包含指针的目录直接运行`ani2cape`命令
|
||||
|
||||
# ANI2Cape
|
||||
A tool that can convert Windows Animated Cursors (*.ani) to GIF/Pillow Images/Cape format
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue