https://github.com/amake/imgxplode
Explode an image into pieces
https://github.com/amake/imgxplode
Last synced: 8 months ago
JSON representation
Explode an image into pieces
- Host: GitHub
- URL: https://github.com/amake/imgxplode
- Owner: amake
- License: mit
- Created: 2022-05-20T12:39:44.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-20T12:55:52.000Z (about 4 years ago)
- Last Synced: 2025-03-16T03:11:12.488Z (over 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imgxplode
Explode a composite image into individual pieces.
For example the following image is a composite of three opaque regions separated
by transparent pixels:

(One of the regions is white! Sorry!)
This tool would output three images corresponding to the three regions.
# Usage
1. Clone repo
2. Run `make test` in the repo root
3. Run `./.env/bin/python imgxplode.py /path/to/input.whatever`
Supported input formats are [whatever Pillow
supports](https://pillow.readthedocs.io/en/latest/handbook/image-file-formats.html).
# Caveats
It's very slow!
# License
MIT