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.4.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for png_splitter-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5bc2e70eac02063eccaa8943e6cbafc60deb84c1efe27cb86c0744a59c1d947 |
|
MD5 | e147c7cd5045a0563f424f5d577ee76c |
|
BLAKE2b-256 | d24932e305fbbbce1dc3b0af8d2910c190c4517a2b0fdc0420192cdf083ea677 |