set image size pygame code example
Example: how to change the scale of a picture in pygame
import pygame
picture = pygame.image.load(filename)
picture = pygame.transform.scale(picture, (1280, 720))
import pygame
picture = pygame.image.load(filename)
picture = pygame.transform.scale(picture, (1280, 720))