I've finally got around to merging the various map generation scripts I use for FrontierNav into a single one called im-map-tiles. It's a fully documented Bash script that takes a number of flags to get the output you want.
To summarise what it does:
- Uses ImageMagick to split an image into map tiles at different zoom levels.
- Map tiles are compatible with Google Maps, Leaflet, and more.
- Ensures the image can be used for map tiles by making sure it's square and optionally squaring it for you.
- Optionally optimises the resulting tiles to save space, reduce bandwidth costs and load times.
Check it out on GitHub. The latest release can be found on the Releases page.
Thanks for reading.