gridslice
Command line tool for slicing an image on a grid. Good for spritesheets and that kind of thing.
Install
pip install gridslice
Usage
usage: gridslice [-h]
input_image_path start_x start_y width height slices_x slices_y
Command line tool for slicing an image on a grid.
positional arguments:
input_image_path Path to the input image file
start_x Start x
start_y Start y
width Slice width
height Slice height
slices_x Number of x slices
slices_y Number of y slices
optional arguments:
-h, --help show this help message and exit
start_x and start_y represent the top corner of the area to take slices from. width and height are the size of each slice. slices_x and slices_y are the number of slices of the specified size to make in each direction.
Release files for gridslice 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gridslice-1.0.0.tar.gz | 2.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gridslice-1.0.0-py3.6.egg | Legacy Egg format | - | - | Details |
| gridslice-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / gridslice-1.0.0.tar.gz
| Download URL | gridslice-1.0.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43d311badda34566b1bcaa3e0cfcc490f8092cc33847128515968eaee9039592
|
|
BLAKE2b-256 checksum How to use checksums |
7269ffafc6890497d4c2a9651d000131f704e9d0b75ed151cc6fbe0481e856a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Release files / gridslice-1.0.0-py3.6.egg
| Download URL | gridslice-1.0.0-py3.6.egg |
|---|---|
| Size | 3.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
575895fc5559255fd27d715f2d6a7b8e978f4ac02548e2e6958bfdb8f734874d
|
|
BLAKE2b-256 checksum How to use checksums |
431ff089f98be4107a6b34178259d5d01d45b960ac8a7a63335c20f1871b6750
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Release files / gridslice-1.0.0-py3-none-any.whl
| Download URL | gridslice-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f5a9462361858bc3f4d51367e1011e8fffcbfc26832cc02fb879a99802eee0b
|
|
BLAKE2b-256 checksum How to use checksums |
3749c300f2608920cd3ed08c6baefb0020cbeb61df39fc5f60f0b082fb3ed531
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|