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 Rust from your package manager or by downloading from here:
https://rust-lang.org/.
Build from source
Build using release mode and install locally (on GNU/Linux this is ~/.cargo/bin):
Install from Cargo
Install directly from Cargo:
Usage
Show available options:
or
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.
Enable load filter so that only TGA images are included in the texture atlas:
Enable rect heuristic AreaFit:
Enable output atlas size of 2048x2048:
Read input files/directories from input.txt but exclude all in exclude.txt:
Adjust atlas size automatically so that texture will fit:
Adjust texture size so that it will fit given atlas size:
LICENSE
See the file 'LICENSE' for license information.