arocull / IronPress

Texture optimization tool for games and animation
MIT License
0 stars 0 forks source link

IronPress

Texture optimization tool for games and animation. Developed in Rust.

Use

If a .json file is fed as the first argument, the program runs a pipeline based off the given configuration. See the Clover Pipeline test configuration for an example.

Images are taken from an input folder relative to the pipeline file. They are then scaled accordingly, forced into proper color channel formats, and exported using maximal PNG compression into the specified pipeline's output folder (can be relative or absolute). The tool is multithreaded, so these will all run asynchronously.

There is an example project inside test/clover with input textures and a texture pipeline file. Run $ cargo test --release (release because it's fast) in the top-level directory to see the output.

Notes

Certain texture maps have special features.

Other Tools

Additional features support image manipulation/analysis via commandline. These are subject to change in the future.

Current list of commands. Each [brackets] represent a filepath to an image (preferably PNG). Use underscores (_) as placeholder textures.