add apply image to hsmap.py