This is a tool to converts an image into a leaflet or googlemaps compatible map tiles. Inspired by (https://github.com/bramus/photoshop-google-maps-tile-cutter)
--sourcePath # The path to the image you like to convert
--targetPath # The path where the map tiles should be saved
--tileSize # The size of the map tiles
--aspectRatioBarsColor # The color of the aspect ratio bars. The color have to be set as hex value like #000000. For transparency add an additionally 00 (Fully transparent #00000000) or FF (Fully visible #000000FF)
./pMapTilesCutter --sourcePath ./map.png --targetPath ./mymaptiles/ --tileSize 256 --aspectRatioBarsColor #000000FF