https://github.com/markknol/spritesheet-splitter
Split spritesheets into separate images
https://github.com/markknol/spritesheet-splitter
command-line command-line-app haxe image-processing images neko spritesheet tool
Last synced: about 1 month ago
JSON representation
Split spritesheets into separate images
- Host: GitHub
- URL: https://github.com/markknol/spritesheet-splitter
- Owner: markknol
- Created: 2016-06-27T19:42:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-27T21:17:01.000Z (almost 9 years ago)
- Last Synced: 2025-01-25T05:11:27.486Z (3 months ago)
- Topics: command-line, command-line-app, haxe, image-processing, images, neko, spritesheet, tool
- Language: Haxe
- Size: 103 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spritesheet image splitter
> Command-line tool to split spritesheets into separate images.
> Because some people need this sometimes.### How to use
1. Download the [executable](/bin/spritesheet-splitter.exe)
2. Run `spritesheet-splitter.exe` with the following commands:```
spritesheet-splitter.exe[-input] : The path to the spritesheet
[-cols] : Amount of columns the spritesheet
[-rows] : Amount of rows the spritesheet[--output] : The output path prefix of the files (optional)
[--zeros] : Amount of leading zeros (default=3)
[--start] : Start value of count (default=0)
```##### Example
`spritesheet-splitter.exe -input "test.png" -cols 4 -rows 2`
> If you have Neko installed, you can also do `neko spritesheet-splitter.n` with the same arguments.
### Sources
The source code of this Haxe/Neko project depends on `nme` and `hxargs`.