change dot to image