explode-image
is a command line tool used to split image atlases into individual images.
Note: I quickly wrote this as a tool in the middle of a project. I have not tested padding / offset yet. It's on my todo list.
columns: MUST PASS
rows: MUST PASS
padding: (0, 0)
offset: (0, 0)
input: MUST PASS
output: SAME DIRECTORY AS INPUT (will make a sub folder)
fmt: png
cargo run -- --columns 16 --rows 16 --padding '0, 0' --offset '0, 0' --input ./assets/terminal8x8.png --output ./assets/output --fmt png
or
cargo run -- -c16 -r16 --padding '0, 0' --offset '0, 0' -i ./assets/terminal8x8.png -o ./assets/output -f png
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
BlueOak-1.0.0