points2img function

points2img