remove the line from image.