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