pygame.surface get size code example
Example 1: pygame surface
# load an image as a surface
my_image = pygame.image.load(path_to_image)
Example 2: pygame surface
# blitting a surface into another surface
screen.blit(my_image, (0, 0))
pygame.display.update() # or pygame.display.flip()