how to get width and height of image in pygame code example
Example: how to find the width of a image pygame
width = surface.get_size()[0]
height = surface.get_size()[1]
width = surface.get_size()[0]
height = surface.get_size()[1]