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