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.tar.gz
(6.5 kB
view hashes)
Built Distribution
sprak-1.0.0-py3-none-any.whl
(8.6 kB
view hashes)