modify a image