/gosplit

split image

Primary LanguageGo

gosplit

gosplit is tool for split image.

install

go install github.com/desktopgame/gosplit/cmd/gosplit

format

gosplit -r $rowCount -c $columnCount -i $input_file

example

gosplit -r 3 -c 13 -i /Users/koya/Documents/Gimp/AlphaMapFill_14x28.png

screenshot

input image
image 1

command

gosplit -r 3 -c 13 -i ./image/AlphaMapFill_14x28.png

output image
image 2
image 3
image 4
image 5