Skip to content

Laocoon7/explode-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

explode-image

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.

Usage

Defaults:

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

Examples:

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

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

BlueOak-1.0.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages