Command line tool for slicing an image on a grid. Good for spritesheets and that kind of thing.
Project description
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.
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
gridslice-1.0.0.tar.gz
(2.3 kB
view hashes)
Built Distributions
gridslice-1.0.0-py3.6.egg
(3.6 kB
view hashes)
Close
Hashes for gridslice-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f5a9462361858bc3f4d51367e1011e8fffcbfc26832cc02fb879a99802eee0b |
|
MD5 | 62d930d93daf2f1569a895992623ac5a |
|
BLAKE2b-256 | 3749c300f2608920cd3ed08c6baefb0020cbeb61df39fc5f60f0b082fb3ed531 |