https://github.com/rzru/png2tileset
this utility creates tilesets out of PNG images
https://github.com/rzru/png2tileset
gba rust tilemap tilemaps tileset tilesets
Last synced: 3 days ago
JSON representation
this utility creates tilesets out of PNG images
- Host: GitHub
- URL: https://github.com/rzru/png2tileset
- Owner: rzru
- Created: 2022-10-20T21:12:30.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-21T17:25:54.000Z (over 2 years ago)
- Last Synced: 2025-02-17T23:12:03.301Z (3 months ago)
- Topics: gba, rust, tilemap, tilemaps, tileset, tilesets
- Language: Rust
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# png2tileset

\- Original Tile Map
\- 8x8 Tileset created from the Tile Map
\- 4x4 Tileset created from the Tile Map## Description
This small utility allows you to generate tilesets out of PNG images. It ignores duplicated tiles and creates a smallest possible tileset of given size. It's made for my personal purposes to create tilesets for GBA games but probably can used for something else.
## Usage
You want to build this with `cargo build --release` before use. After this the release version of a binary can be found in `target/release` directory.
```bash
Converts png images (tilemaps) into png tilesetsUsage: png2tileset [OPTIONS]
Arguments:
File pathOptions:
-o, --output Output file path
-s, --size Tile size (in pixels) [default: 8]
-h, --help Print help information
-V, --version Print version information
```## Development
Should I even write it?
```bash
cargo runcargo build
cargo build --release
```## License
[WTFPL](https://en.wikipedia.org/wiki/WTFPL)