edit points of an image