https://github.com/nearhuscarl/spriteextractor
A small program to get sprite's bounding box from a spritesheet quickly
https://github.com/nearhuscarl/spriteextractor
Last synced: 6 months ago
JSON representation
A small program to get sprite's bounding box from a spritesheet quickly
- Host: GitHub
- URL: https://github.com/nearhuscarl/spriteextractor
- Owner: NearHuscarl
- Created: 2018-10-10T11:02:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-04T07:40:03.000Z (almost 7 years ago)
- Last Synced: 2025-03-24T00:11:42.249Z (7 months ago)
- Language: Python
- Size: 854 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sprite Extractor
A small program to quickly get sprite's bounding box (left, top, right, bottom position) on your spritesheet

## Template string
Here are all of the available placholders to populate template string
| Placeholder | Description |
|:-----------:|-------------------------------------|
| {L} | Left position of the bounding box |
| {T} | Top position of the bounding box |
| {R} | Right position of the bounding box |
| {B} | Bottom position of the bounding box |
| {W} | Width of the bounding box |
| {H} | Height of the bounding box |## Download
You can either download [here] or build from source
## Build from source
* Install [pyinstaller](https://www.pyinstaller.org/)
* Open your terminal and execute the following commands
```
git clone https://github.com/NearHuscarl/SpriteExtractor
cd SpriteExtractor
pyinstaller build.spec
```
* After that, a new application will be created in the dist/ folder[here]: https://github.com/NearHuscarl/SpriteExtractor/releases