A texture atlas generator command line tool written in Rust.
https://luflow.net/
image-atlas
image-atlas-generator
rust
rust-cli
rust-cli-apps
texture-atlas
texture-atlas-builder
texture-atlas-generator
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo/workflows | ||
| .github | ||
| src | ||
| test_data | ||
| tests | ||
| .gitignore | ||
| AUTHORS | ||
| Cargo.lock | ||
| Cargo.toml | ||
| cliff.toml | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| rustfmt.toml | ||
| SECURITY.md | ||
flow-texpack
flow-texpack is a program that will allow you to generate texture atlas from
input images (BMP, HDR, JPG, PNG, TGA, TIFF, WEBP). The application generates
both texture atlas and descriptions file that can be read by a game.
Installation
Install from Cargo:
cargo install flow-texpack
Build from source:
cargo install --locked --path .
Usage
Show available options:
flow-texpack -h
or
flow-texpack --help
Examples
Generate from input data/characters and data/tiles, write output to
out/atlas and enable the options: premultiply pixels by their alpha
channel, trim excess transparency off the textures, remove duplicate textures from the atlas, enable rotation of textures 90 degrees clockwise,
pad each texture by 2 pixels and finally enable verbose output mode.
flow-texpack -i data/characters data/tiles -o out/atlas -m -t -u -r -p 2 -v
LICENSE
See the file 'LICENSE' for license information.