<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def center_image(self, img):
 """Sets an image's anchor point to its center"""

        img.anchor_x = img.width // 2 # int
        img.anchor_y = img.height // 2