Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Img Merge

A Rust CLI utility for merging PNG images into a bitmasked image, ready for tiling.

Run the app with cargo run.

The arguments required are:

  --red-path <RED_CHANNEL_FILE_PATH>
  --green-path <GREEN_CHANNEL_FILE_PATH>
  --blue-path <BLUE_CHANNEL_FILE_PATH>
  --red-bbox <RED_BBOX> <RED_BBOX> <RED_BBOX> <RED_BBOX>
  --green-bbox <GREEN_BBOX> <GREEN_BBOX> <GREEN_BBOX> <GREEN_BBOX>
  --blue-bbox <BLUE_BBOX> <BLUE_BBOX> <BLUE_BBOX> <BLUE_BBOX>
  --source-dimensions <SOURCE_DIM> <SOURCE_DIM>
  --out <OUTPUT_FILE>

You can also use --dry-run to specify a dry run that doesn't write a file.

For convenience, you can use ./cmd.sh to run a pre-prepared command, which will produce a file based on the example assets provided.

About

A rust CLI utility for merging separate PNG images into one bitmasked image

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages