A texture atlas generator command line tool written in Rust. https://luflow.net/
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Andreas Widen f5a4c9c0cd
All checks were successful
/ Rust CI Check/Build/Test (push) Successful in 2m40s
/ Create Forgejo Release (push) Successful in 5m54s
build: bump version to 0.2.10
Signed-off-by: Andreas Widen <aw@luflow.net>
2026-11-07 13:54:25 +01:00
.forgejo/workflows ci: updated github issue/pull request templates 2026-09-05 20:18:48 +02:00
.github ci: updated github issue/pull request templates 2026-09-05 20:18:48 +02:00
src test: added integration tests due to new cli shortcut opts 2026-11-04 15:07:09 +01:00
test_data Initial commit. 2026-08-11 20:53:35 +02:00
tests test: added integration tests due to new cli shortcut opts 2026-11-04 15:07:09 +01:00
.gitignore Initial commit. 2026-08-11 20:53:35 +02:00
AUTHORS Initial commit. 2026-08-11 20:53:35 +02:00
Cargo.lock build: bump version to 0.2.10 2026-11-07 13:54:25 +01:00
Cargo.toml build: bump version to 0.2.10 2026-11-07 13:54:25 +01:00
cliff.toml Initial commit. 2026-08-11 20:53:35 +02:00
CODE_OF_CONDUCT.md chore: added CODE_OF_CONDUCT.md 2026-08-18 18:38:55 +02:00
CONTRIBUTING.md chore: removed codeberg/github from CONTRIBUTING.md 2026-11-07 13:38:45 +01:00
LICENSE chore: remove project desc in LICENSE 2026-08-12 14:14:25 +02:00
README.md chore: simplified README.md 2026-10-01 14:15:05 +02:00
rustfmt.toml chore: added rustfmt.toml 2026-08-29 13:28:19 +02:00
SECURITY.md chore: added SECURITY.md 2026-08-18 18:38:15 +02:00

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.