Deletes image.