Split a png into smaller images.
Project description
png_splitter
Split a png into smaller images.
A simple package that is able to split a full image like a sprite sheet.
⚠️ This package only works if the background of the png is invisible, otherwise, it will have unexpected results
⚠️
For example, the following image:
Creates 10 smaller images:
How to Install
pip install png_splitter
All you have to do is:
png_splitter.split_image("image.png", "images_folder")
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
png_splitter-0.0.3.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for png_splitter-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cf10e3dcf467b32e96b64ea1f5f28d2a3d8be4fe2704e9e8f26bc8cae810877 |
|
MD5 | 60d7d90acd1408cdd2d4f5ba399a2623 |
|
BLAKE2b-256 | 4981448ed316228b91e961854484b0727174fd6df841d435a037a8210306787b |