Slices an image into its constituent parts
Project description
Description
This script takes images and uses transparent pixel grids in order to seperate each object into smaller files. A test image is included in order to see how this script works.
Requirements
This package needs Pillow which can be done through:
pip install Pillow
Installation
To install:
pip install slicer-img
Usage
cd {main folder}
slice {path to image file} {format}
Examples
Uses test.png and outputs in default png format
slice test.png
To specify a different format, type the format like below
slice test.png jpg
This format works too
slice test.png .jpg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file slicer-img-2.1.0.tar.gz.
File metadata
- Download URL: slicer-img-2.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2c4eda29e4d1b35cf0e6882722133540f2d906df33c4daa53e4ad9cd71667f7
|
|
| MD5 |
1980430cb0fcdecdd77d8f9ebd0ccd1e
|
|
| BLAKE2b-256 |
28969bdfecd811261f441f4a5bfebdbd0dc86f1e734f9d8a4771d83b95624a02
|
File details
Details for the file slicer_img-2.1.0-py3-none-any.whl.
File metadata
- Download URL: slicer_img-2.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ad957074062c33705b9cb1ee25d832e78b5a7c8fc709583bcf380430afe0e18
|
|
| MD5 |
5af288b3705cbf57037f5847cdd56e24
|
|
| BLAKE2b-256 |
482e4768ae20dc1dfe9a7c34593bcb2a864f63a1961d8aba0b1b49f523ec1972
|