https://github.com/rysuds/exsprite
A Python CLI tool for extracting sprites from spritesheets
https://github.com/rysuds/exsprite
2d-graphics cli extracting-sprites game-development image-processing python3 sprites spritesheet spritesheets
Last synced: 2 days ago
JSON representation
A Python CLI tool for extracting sprites from spritesheets
- Host: GitHub
- URL: https://github.com/rysuds/exsprite
- Owner: rysuds
- License: apache-2.0
- Created: 2020-05-30T19:36:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T04:22:36.000Z (about 6 years ago)
- Last Synced: 2025-03-05T22:40:58.870Z (over 1 year ago)
- Topics: 2d-graphics, cli, extracting-sprites, game-development, image-processing, python3, sprites, spritesheet, spritesheets
- Language: Python
- Homepage:
- Size: 644 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 
A CLI tool for extracting sprites from spritesheets!
## Setup
#### Dependencies
```
- numpy
- scikit-image
- scipy
- fire
- matplotlib
- tqdm
```
#### Installation
The following will install all dependencies and create the CLI command
```
python setup.py install
```
## Usage
#### Grouping by rows

```
exsprite save --filepath
```
#### Grouping by columns

```
exsprite save --filepath --group col
```
#### Custom output folder
By default an output folder with your grouped sprites will be generated in the same directory as your spritesheet. If you'd like to set the name/location of the output folder path you can do
```
exsprite save --filepath --folderpath
```