A Python module for packing sprites into a texture atlas.
Project description
sprak
sprak
is a Python module for packing sprites into a texture atlas.
Usage
from pathlib import Path
from sprak import SpritePacker
src = Path("/path/to/src/folder")
dst = Path("/path/to/dst/folder")
packer = SpritePacker()
packer.add_source_folder(src)
packer.pack(dst)
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
sprak-1.0.0.post1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for sprak-1.0.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1948c966986e47ec5431afb6c30840d97df9a7a6b5ae7fa731481148784eff01 |
|
MD5 | ecb6cec7ecdd00eebb3d57e85e6b373e |
|
BLAKE2b-256 | 0c542e63f034a083d8708371bd36310375f714bba657275b7459d94a5b05eb5f |