Skip to main content

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)

Uploaded Source

Built Distribution

png_splitter-0.0.5-py3-none-any.whl (2.6 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