spirits maker and gather via CLI or script
Project description
spirits
制作和拼接精灵图
pipx install spirits
uvx spirits ...
# 制作精灵图
spirits scatter example/pypi_logo.png 3 3 # 默认output路径是 ./output
spirits scatter example/pypi_logo.png 3 3 --flex-range 15 # 拆分图片 像素级别检测边界 得到不完全等高等宽的小图
spirits scatter example/pypi_logo.png 3 3 --output-dir example/output
# 拼接精灵图
spirits gather example/compose-4.png example/output/0-0.png example/output/0-1.png example/output/1-0.png example/output/1-1.png --row 2 --column 2
spirits gather example/compose.png --file example/images.list --row 3 --column 3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spirits-1.1.0.tar.gz
(1.5 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spirits-1.1.0.tar.gz.
File metadata
- Download URL: spirits-1.1.0.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.27
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
348f92c51fd5133451a7fed2efe2eb8ca61f0ee2ccb04877404b8a3f6adbb9c4
|
|
| MD5 |
11574f926fda8a1c25a7f11ae709494d
|
|
| BLAKE2b-256 |
bcc98b9f393ac0cfd30fc13e9325b93a52e0cce2ba10a180f0a1b4475e2369ae
|
File details
Details for the file spirits-1.1.0-py3-none-any.whl.
File metadata
- Download URL: spirits-1.1.0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.27
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
016a0c2739268ad0de2a3c3ad1fd679b5edd119f2629714e5fab5847a4526c87
|
|
| MD5 |
9ee7c99de495ca128e9efd7138bf4134
|
|
| BLAKE2b-256 |
55604448a4b4f4a5cf055e86bee3bd358b3116ecd2437f940e8e783e7192a7d0
|