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.5.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for png_splitter-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624fb8ed8fdc1a467dd98b129b812d75a7b6b17842b267446c7de4a4008b50f3 |
|
MD5 | 04b8b5dd9d5e4b62c72d2fbe9c9a2c70 |
|
BLAKE2b-256 | d13fb268e13d09dfaccc078a20db42bfcd96c78a38406c02bd2668ac809b64a5 |