Skip to main content

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


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)

Uploaded Source

Built Distribution

sprak-1.0.0.post1-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

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