Skip to main content

spirits maker and gather via CLI or script

Project description

spirits

制作和拼接精灵图

pip install spirits

# 制作精灵图
spirits scatter example/pypi_logo.png 3 3 # 默认output路径是 ./output
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

spirits

make and compose spirits images

pip install spirits

# make spirits
spirits scatter example/pypi_logo.png 3 3 # default output dir: ./output
spirits scatter example/pypi_logo.png 3 3 --output-dir example/output

# compose spirits
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


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.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

spirits-1.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file spirits-1.0.0.tar.gz.

File metadata

  • Download URL: spirits-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-78-generic

File hashes

Hashes for spirits-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5229c97f711a88b23525bedb3abeaafc9ca2975eb1b8fed31b682139a5d79040
MD5 4045f28451411a60fa599bd33f35ff3a
BLAKE2b-256 1c7090a73d952094cf477d305d386effa628d295d0499b50e9584cfe268e3771

See more details on using hashes here.

File details

Details for the file spirits-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: spirits-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-78-generic

File hashes

Hashes for spirits-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de54fa85e38ffc3d2c8aeaee79b0a62637f6d2c75afba7507040066cde0c8633
MD5 bd9b8b15566a11ca48ea7cb0e77ff67a
BLAKE2b-256 1352594b11f2b1e996fd8336695b932f7ee992a4c462d3024b8c0cca35b0a0ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page