function to store images moved  to mkgmap.py