Tile is a shell script to convert any given images to tiles.
- GraphicsMagick
- Git Bash (For windows users to run shell scripts)
sh ./tile.sh image_path [ options ... ]
- To crop image to square tiles of 100x100 pixels:
sh tile.sh img.jpg 100
- To crop image to tiles of 100x200 pixels:
sh tile.sh img.jpg 100 200
- To crop image to 5 x 5 tiles
sh tile.sh img.jpg -c 5
# or
sh tile.sh img.jpg --count 5
- To crop image to 5 x 10 tiles
sh tile.sh img.jpg -c 5 10
# or
sh tile.sh img.jpg --count 5 10
Progress bar credits go to Teddy Skarin for his ProgressBar repository